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.001022/0.001022, allocations: 75.77 kB / 21.18 MB, free: 3.379 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.00099/0.00099, allocations: 161 kB / 24.56 MB, free: 8 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.036/1.036, allocations: 177.1 MB / 205 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] 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.2411/0.2411, allocations: 29.41 MB / 290.9 MB, free: 2.512 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.112e-06/1.112e-06, allocations: 0 / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.534e-05/1.645e-05, allocations: 2.312 kB / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.002998/0.003015, allocations: 3.472 MB / 373.1 MB, free: 7.512 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001143/0.004157, allocations: 1.164 MB / 374.3 MB, free: 6.34 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.004258, allocations: 7.938 kB / 374.3 MB, free: 6.332 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000495/0.004753, allocations: 207.1 kB / 374.5 MB, free: 6.129 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004087/0.005161, allocations: 286.5 kB / 374.8 MB, free: 5.848 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001801/0.005341, allocations: 103.6 kB / 374.9 MB, free: 5.746 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005114/0.005853, allocations: 342.9 kB / 375.2 MB, free: 5.41 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002178/0.006071, allocations: 114.1 kB / 375.3 MB, free: 5.301 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002424/0.006313, allocations: 199.4 kB / 375.5 MB, free: 5.105 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001792/0.006492, allocations: 151.5 kB / 375.6 MB, free: 4.957 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.006514, allocations: 12 kB / 375.7 MB, free: 4.945 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002634/0.006777, allocations: 267.1 kB / 375.9 MB, free: 4.684 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.472e-05/0.006862, allocations: 107.8 kB / 376 MB, free: 4.578 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.813e-05/0.00693, allocations: 67.84 kB / 376.1 MB, free: 4.512 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003252/0.007255, allocations: 311 kB / 376.4 MB, free: 4.207 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.007257, allocations: 0 / 376.4 MB, free: 4.207 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.007258, allocations: 0 / 376.4 MB, free: 4.207 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.007262, allocations: 4 kB / 376.4 MB, free: 4.203 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.0004537/0.007716, allocations: 0.5345 MB / 376.9 MB, free: 3.633 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.007747, allocations: 11.98 kB / 376.9 MB, free: 3.621 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004878/0.008235, allocations: 140.5 kB / 377.1 MB, free: 3.484 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002123/0.008447, allocations: 196.8 kB / 377.3 MB, free: 3.266 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.008464, allocations: 24.36 kB / 377.3 MB, free: 3.242 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.962e-05/0.008493, allocations: 16.38 kB / 377.3 MB, free: 3.227 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002526/0.008746, allocations: 232.3 kB / 377.5 MB, free: 2.973 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.008758, allocations: 3.938 kB / 377.5 MB, free: 2.969 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.813e-05/0.008776, allocations: 8 kB / 377.5 MB, free: 2.961 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.415e-05/0.0088, allocations: 15.98 kB / 377.6 MB, free: 2.945 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002167/0.009017, allocations: 123.8 kB / 377.7 MB, free: 2.824 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000968/0.009985, allocations: 1.324 MB / 379 MB, free: 1.41 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000354/0.01034, allocations: 182.2 kB / 379.2 MB, free: 1.207 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.978e-05/0.01039, allocations: 35.42 kB / 379.2 MB, free: 1.164 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.01041, allocations: 4.219 kB / 379.2 MB, free: 1.16 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.01043, allocations: 45.33 kB / 379.3 MB, free: 1.105 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.332e-06/0.01043, allocations: 0 / 379.3 MB, free: 1.105 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005379/0.01097, allocations: 284.2 kB / 379.5 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.011, allocations: 85.09 kB / 379.6 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.01112, allocations: 234.6 kB / 379.9 MB, free: 480 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.01113, allocations: 29.7 kB / 379.9 MB, free: 444 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.889e-05/0.01121, allocations: 210.9 kB / 380.1 MB, free: 224 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/0.01124, allocations: 51.59 kB / 380.1 MB, free: 172 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.644e-05/0.01128, allocations: 51.36 kB / 380.2 MB, free: 112 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.0114, allocations: 0.4962 MB / 380.7 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.589e-05/0.01144, allocations: 19.98 kB / 380.7 MB, free: 15.58 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.118e-05/0.01153, allocations: 171.3 kB / 380.9 MB, free: 15.35 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.01168, allocations: 215 kB / 381.1 MB, free: 15.08 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.01168, allocations: 4 kB / 381.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002506/0.01193, allocations: 217.1 kB / 381.3 MB, free: 14.85 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.01194, allocations: 8.094 kB / 381.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.01195, allocations: 4 kB / 381.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001625/0.01211, allocations: 35.66 kB / 381.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.206e-05/0.01219, allocations: 47.92 kB / 381.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007444/0.01294, allocations: 1.752 MB / 383.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.862e-05/0.01299, allocations: 12.06 kB / 383.2 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.064e-05/0.01302, allocations: 12 kB / 383.2 MB, free: 12.86 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 8.241e-05/0.01311, allocations: 172.5 kB / 383.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.752e-05/0.01313, allocations: 23.89 kB / 383.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001901/0.01332, allocations: 142.7 kB / 383.5 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.01333, allocations: 8 kB / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.01333, allocations: 4 kB / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.01334, allocations: 0 / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004774/0.01381, allocations: 491.9 kB / 384 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.01381, allocations: 0 / 384 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.264e-05/0.01386, allocations: 19.98 kB / 384 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.09e-05/0.01394, allocations: 35.75 kB / 384 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.01395, allocations: 4 kB / 384.1 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006951/0.01464, allocations: 1.744 MB / 385.8 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.01465, allocations: 7.938 kB / 385.8 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002192/0.01486, allocations: 326.3 kB / 386.1 MB, free: 9.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.509e-05/0.01488, allocations: 19.84 kB / 386.1 MB, free: 9.641 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.01489, allocations: 4 kB / 386.1 MB, free: 9.637 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.107e-05/0.01494, allocations: 4 kB / 386.2 MB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.679e-05/0.01497, allocations: 19.91 kB / 386.2 MB, free: 9.613 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.858e-06/0.01498, allocations: 11.94 kB / 386.2 MB, free: 9.602 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001593/0.01514, allocations: 157.1 kB / 386.3 MB, free: 9.449 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01514, allocations: 4 kB / 386.3 MB, free: 9.445 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002052/0.01534, allocations: 48 kB / 386.4 MB, free: 9.398 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 6.661e-05/0.01541, allocations: 99.25 kB / 386.5 MB, free: 9.293 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002735/0.01568, allocations: 279.5 kB / 386.8 MB, free: 9 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.01569, allocations: 0 / 386.8 MB, free: 9 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.01582, allocations: 230.4 kB / 387 MB, free: 8.754 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002186/0.01604, allocations: 33.73 kB / 387 MB, free: 8.727 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007471/0.01678, allocations: 421.5 kB / 387.4 MB, free: 8.266 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.355e-05/0.01684, allocations: 99.89 kB / 387.5 MB, free: 8.148 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.009e-05/0.0169, allocations: 37.45 kB / 387.6 MB, free: 8.113 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.036e-05/0.01693, allocations: 20.5 kB / 387.6 MB, free: 8.09 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01693, allocations: 0 / 387.6 MB, free: 8.09 MB / 362.7 MB Notification: Performance of Templates: time 0.003133/0.02006, allocations: 1.697 MB / 389.3 MB, free: 6.418 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: 3.0168663449585438]