Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.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.00231/0.00231, 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.002659/0.002659, allocations: 165.3 kB / 24.27 MB, free: 156 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.579/1.579, allocations: 177.1 MB / 204.6 MB, free: 5.598 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.3045/0.3045, allocations: 29.41 MB / 290.5 MB, free: 2.406 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.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest") translateModel(PowerSystems.Examples.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.747e-05/2.871e-05, allocations: 6.312 kB / 368.9 MB, free: 11.29 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.005784/0.005812, allocations: 3.531 MB / 372.4 MB, free: 7.738 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002523/0.008335, allocations: 1.438 MB / 373.8 MB, free: 6.293 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001257/0.008461, allocations: 7.938 kB / 373.9 MB, free: 6.285 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008951/0.009356, allocations: 254.9 kB / 374.1 MB, free: 6.035 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006406/0.009997, allocations: 282.6 kB / 374.4 MB, free: 5.758 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002897/0.01029, allocations: 107.5 kB / 374.5 MB, free: 5.652 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004595/0.01075, allocations: 346.9 kB / 374.8 MB, free: 5.312 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000298/0.01104, allocations: 118.1 kB / 374.9 MB, free: 5.199 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003986/0.01144, allocations: 203.3 kB / 375.1 MB, free: 5 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002858/0.01173, allocations: 151.5 kB / 375.3 MB, free: 4.852 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.463e-05/0.01177, allocations: 16 kB / 375.3 MB, free: 4.836 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005025/0.01228, allocations: 267 kB / 375.6 MB, free: 4.574 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001487/0.01242, allocations: 115.7 kB / 375.7 MB, free: 4.461 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001129/0.01254, allocations: 67.84 kB / 375.7 MB, free: 4.395 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006115/0.01315, allocations: 359 kB / 376.1 MB, free: 4.043 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.01315, allocations: 0 / 376.1 MB, free: 4.043 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.01316, allocations: 0 / 376.1 MB, free: 4.043 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.01316, allocations: 4 kB / 376.1 MB, free: 4.039 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001115/0.01428, allocations: 0.5575 MB / 376.7 MB, free: 3.445 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.01432, allocations: 15.98 kB / 376.7 MB, free: 3.43 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008737/0.0152, allocations: 136.6 kB / 376.8 MB, free: 3.297 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003999/0.0156, allocations: 212.8 kB / 377 MB, free: 3.062 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/0.01562, allocations: 12.38 kB / 377 MB, free: 3.051 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.322e-05/0.01567, allocations: 16.38 kB / 377 MB, free: 3.035 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004442/0.01612, allocations: 248.3 kB / 377.3 MB, free: 2.766 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.01614, allocations: 3.938 kB / 377.3 MB, free: 2.762 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.221e-05/0.01617, allocations: 15.98 kB / 377.3 MB, free: 2.746 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.814e-05/0.01621, allocations: 15.98 kB / 377.3 MB, free: 2.73 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000321/0.01653, allocations: 139.8 kB / 377.4 MB, free: 2.594 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002051/0.01858, allocations: 1.367 MB / 378.8 MB, free: 1.137 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005948/0.01918, allocations: 182.1 kB / 379 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.634e-05/0.01926, allocations: 43.42 kB / 379 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/0.01929, allocations: 4 kB / 379 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.01932, allocations: 37.39 kB / 379.1 MB, free: 0.832 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.382e-06/0.01933, allocations: 0 / 379.1 MB, free: 0.832 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0009205/0.02025, allocations: 300 kB / 379.4 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.891e-05/0.02032, allocations: 77.23 kB / 379.4 MB, free: 448 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002713/0.02059, allocations: 270.5 kB / 379.7 MB, free: 156 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.02061, allocations: 25.7 kB / 379.7 MB, free: 124 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002013/0.02081, allocations: 215.2 kB / 379.9 MB, free: 15.9 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.89e-05/0.02087, allocations: 55.53 kB / 380 MB, free: 15.85 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.445e-05/0.02096, allocations: 59.3 kB / 380.1 MB, free: 15.78 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003045/0.02127, allocations: 0.504 MB / 380.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.726e-05/0.02135, allocations: 31.97 kB / 380.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002218/0.02157, allocations: 175.2 kB / 380.8 MB, free: 15 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003322/0.0219, allocations: 227 kB / 381 MB, free: 14.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.0219, allocations: 4 kB / 381 MB, free: 14.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004518/0.02235, allocations: 224.8 kB / 381.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.02238, allocations: 8 kB / 381.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.02238, allocations: 7.938 kB / 381.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002878/0.02267, allocations: 48.03 kB / 381.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.02282, allocations: 35.98 kB / 381.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001586/0.0244, allocations: 1.787 MB / 383.1 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.02452, allocations: 12.12 kB / 383.1 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.243e-05/0.02455, allocations: 8 kB / 383.1 MB, free: 12.45 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003701/0.02492, allocations: 176.5 kB / 383.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.506e-05/0.02497, allocations: 23.89 kB / 383.3 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003666/0.02534, allocations: 146.8 kB / 383.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.02534, allocations: 3.938 kB / 383.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.02535, allocations: 4.062 kB / 383.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.02535, allocations: 0 / 383.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009126/0.02626, allocations: 0.5311 MB / 384 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.02627, allocations: 7.984 kB / 384 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.856e-05/0.02636, allocations: 19.94 kB / 384 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001608/0.02652, allocations: 31.66 kB / 384 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.02654, allocations: 4 kB / 384.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001554/0.02809, allocations: 1.771 MB / 385.8 MB, free: 9.535 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.02809, allocations: 3.938 kB / 385.8 MB, free: 9.531 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004749/0.02857, allocations: 345.2 kB / 386.2 MB, free: 9.156 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.608e-05/0.0286, allocations: 15.84 kB / 386.2 MB, free: 9.141 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.555e-05/0.02863, allocations: 4.125 kB / 386.2 MB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.02873, allocations: 8 kB / 386.2 MB, free: 9.129 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.59e-05/0.02878, allocations: 15.97 kB / 386.2 MB, free: 9.113 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.02879, allocations: 8 kB / 386.2 MB, free: 9.105 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001537/0.02895, allocations: 173.1 kB / 386.4 MB, free: 8.938 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02895, allocations: 0 / 386.4 MB, free: 8.938 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003738/0.02932, allocations: 48 kB / 386.4 MB, free: 8.891 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001346/0.02946, allocations: 99.23 kB / 386.5 MB, free: 8.785 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005301/0.02999, allocations: 299.6 kB / 386.8 MB, free: 8.473 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.02999, allocations: 0 / 386.8 MB, free: 8.473 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003081/0.0303, allocations: 229.5 kB / 387 MB, free: 8.227 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004477/0.03074, allocations: 31.02 kB / 387.1 MB, free: 8.199 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008965/0.03164, allocations: 414.5 kB / 387.5 MB, free: 7.746 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001956/0.03184, allocations: 147.8 kB / 387.6 MB, free: 7.578 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001129/0.03195, allocations: 41.44 kB / 387.7 MB, free: 7.539 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.439e-05/0.032, allocations: 24.48 kB / 387.7 MB, free: 7.516 MB / 362.7 MB Notification: Performance of SimCode: time 1.032e-06/0.03201, allocations: 0 / 387.7 MB, free: 7.516 MB / 362.7 MB Notification: Performance of Templates: time 0.005995/0.038, allocations: 1.641 MB / 389.3 MB, free: 5.898 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.801932826056145]