Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001887/0.001887, allocations: 91.61 kB / 20.96 MB, free: 3.461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001969/0.001969, allocations: 165.3 kB / 24.28 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.595/1.595, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.3189/0.3189, allocations: 29.41 MB / 290.5 MB, free: 2.414 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3704,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3704,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.183e-06/1.183e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.759e-05/2.878e-05, allocations: 2.312 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.0071/0.007129, allocations: 4.159 MB / 373 MB, free: 7.125 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001855/0.008984, allocations: 0.8491 MB / 373.9 MB, free: 6.273 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002036/0.009188, allocations: 19.81 kB / 373.9 MB, free: 6.254 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002482/0.009436, allocations: 51.5 kB / 374 MB, free: 6.203 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005365/0.009973, allocations: 167 kB / 374.1 MB, free: 6.039 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002246/0.0102, allocations: 87.81 kB / 374.2 MB, free: 5.953 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005506/0.01075, allocations: 414.3 kB / 374.6 MB, free: 5.547 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001897/0.01094, allocations: 62.7 kB / 374.7 MB, free: 5.492 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004771/0.01141, allocations: 255.1 kB / 374.9 MB, free: 5.242 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000363/0.01178, allocations: 159.5 kB / 375.1 MB, free: 5.086 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.238e-05/0.01183, allocations: 20 kB / 375.1 MB, free: 5.066 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.191e-05/0.01189, allocations: 24 kB / 375.1 MB, free: 5.043 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000138/0.01203, allocations: 95.72 kB / 375.2 MB, free: 4.949 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001588/0.01219, allocations: 95.75 kB / 375.3 MB, free: 4.855 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004876/0.01268, allocations: 279.1 kB / 375.6 MB, free: 4.582 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.01268, allocations: 11.92 kB / 375.6 MB, free: 4.57 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.01268, allocations: 0 / 375.6 MB, free: 4.57 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.01269, allocations: 0 / 375.6 MB, free: 4.57 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001254/0.01394, allocations: 0.6368 MB / 376.2 MB, free: 3.895 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.01399, allocations: 19.98 kB / 376.3 MB, free: 3.875 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001118/0.0141, allocations: 52.7 kB / 376.3 MB, free: 3.824 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006319/0.01473, allocations: 291.9 kB / 376.6 MB, free: 3.516 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.974e-05/0.01476, allocations: 16.88 kB / 376.6 MB, free: 3.496 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001422/0.0149, allocations: 32.69 kB / 376.6 MB, free: 3.465 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004707/0.01537, allocations: 277.6 kB / 376.9 MB, free: 3.156 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.01538, allocations: 0 / 376.9 MB, free: 3.156 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.954e-05/0.01541, allocations: 12 kB / 376.9 MB, free: 3.145 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2e-05/0.01543, allocations: 8 kB / 376.9 MB, free: 3.137 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002702/0.0157, allocations: 123.8 kB / 377.1 MB, free: 3.016 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00204/0.01774, allocations: 1.53 MB / 378.6 MB, free: 1.391 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003603/0.0181, allocations: 149.2 kB / 378.7 MB, free: 1.207 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.559e-05/0.0182, allocations: 51.11 kB / 378.8 MB, free: 1.145 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.01822, allocations: 8 kB / 378.8 MB, free: 1.137 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.766e-05/0.01827, allocations: 41.39 kB / 378.8 MB, free: 1.086 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.01827, allocations: 0 / 378.8 MB, free: 1.086 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.001114/0.01939, allocations: 492 kB / 379.3 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.08e-05/0.01948, allocations: 102.8 kB / 379.4 MB, free: 452 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008369/0.02031, allocations: 340.2 kB / 379.7 MB, free: 96 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.286e-05/0.02035, allocations: 25.7 kB / 379.8 MB, free: 64 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002132/0.02056, allocations: 246.9 kB / 380 MB, free: 15.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.029e-05/0.02061, allocations: 51.83 kB / 380.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.79e-05/0.0207, allocations: 55.36 kB / 380.1 MB, free: 15.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000293/0.02099, allocations: 0.5157 MB / 380.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.432e-05/0.02108, allocations: 35.98 kB / 380.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002171/0.02129, allocations: 177.8 kB / 380.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003304/0.02162, allocations: 235.3 kB / 381.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.02163, allocations: 0 / 381.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004645/0.02209, allocations: 248.9 kB / 381.3 MB, free: 14.37 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.02211, allocations: 11.98 kB / 381.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.026e-06/0.02212, allocations: 4 kB / 381.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001477/0.02227, allocations: 27.67 kB / 381.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003265/0.0226, allocations: 59.89 kB / 381.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.02261, allocations: 4 kB / 381.4 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001257/0.02273, allocations: 12 kB / 381.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.391e-05/0.02276, allocations: 16 kB / 381.4 MB, free: 14.23 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000181/0.02294, allocations: 184.6 kB / 381.6 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.239e-05/0.02301, allocations: 27.86 kB / 381.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003043/0.02331, allocations: 143.3 kB / 381.8 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.02332, allocations: 0 / 381.8 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.02332, allocations: 4 kB / 381.8 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.02333, allocations: 0 / 381.8 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000419/0.02375, allocations: 252.4 kB / 382 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.02375, allocations: 4 kB / 382 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001612/0.02391, allocations: 23.98 kB / 382.1 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.02391, allocations: 4 kB / 382.1 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.02393, allocations: 8 kB / 382.1 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.02393, allocations: 3.938 kB / 382.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.02394, allocations: 4 kB / 382.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005539/0.02449, allocations: 474.4 kB / 382.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.515e-05/0.02454, allocations: 23.81 kB / 382.6 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.123e-05/0.02457, allocations: 0 / 382.6 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.02472, allocations: 8 kB / 382.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.477e-05/0.02475, allocations: 7.984 kB / 382.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.348e-06/0.02476, allocations: 0 / 382.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002253/0.02499, allocations: 229.1 kB / 382.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02499, allocations: 4 kB / 382.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003707/0.02536, allocations: 48 kB / 382.9 MB, free: 12.74 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pLoadDC.i,pLoadDC.L) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001439/0.0255, allocations: 99.19 kB / 383 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004056/0.02591, allocations: 147.7 kB / 383.1 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.02591, allocations: 0.8125 kB / 383.1 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.02602, allocations: 59.61 kB / 383.2 MB, free: 12.42 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005408/0.02656, allocations: 55.16 kB / 383.2 MB, free: 12.36 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.02761, allocations: 0.5523 MB / 383.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002008/0.02781, allocations: 162.7 kB / 383.9 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001022/0.02791, allocations: 30.28 kB / 384 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.904e-05/0.02798, allocations: 20.5 kB / 384 MB, free: 11.55 MB / 362.7 MB Notification: Performance of SimCode: time 7.12e-07/0.02798, allocations: 0 / 384 MB, free: 11.55 MB / 362.7 MB Notification: Performance of Templates: time 0.006901/0.03488, allocations: 2.282 MB / 386.3 MB, free: 9.32 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.789402083028108]