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.0009607/0.0009607, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.0009405/0.0009405, allocations: 165.8 kB / 24.82 MB, free: 9.273 MB / 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.011/1.011, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.2654/0.2654, allocations: 29.41 MB / 291.2 MB, free: 2.461 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.984e-06/1.984e-06, allocations: 0 / 370.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.167e-05/2.366e-05, allocations: 9.344 kB / 370.1 MB, free: 10.74 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.00369/0.003714, allocations: 3.453 MB / 373.6 MB, free: 7.262 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00137/0.005084, allocations: 1.137 MB / 374.7 MB, free: 6.117 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001384/0.005223, allocations: 7.938 kB / 374.7 MB, free: 6.109 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00051/0.005733, allocations: 207.1 kB / 374.9 MB, free: 5.906 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004993/0.006232, allocations: 282.6 kB / 375.2 MB, free: 5.629 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000226/0.006458, allocations: 119.5 kB / 375.3 MB, free: 5.512 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003242/0.006782, allocations: 331 kB / 375.6 MB, free: 5.188 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000211/0.006993, allocations: 110.1 kB / 375.7 MB, free: 5.082 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002782/0.007271, allocations: 203.3 kB / 375.9 MB, free: 4.883 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002016/0.007473, allocations: 147.6 kB / 376.1 MB, free: 4.738 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.007494, allocations: 16 kB / 376.1 MB, free: 4.723 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000327/0.007821, allocations: 267.1 kB / 376.3 MB, free: 4.461 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.007922, allocations: 99.78 kB / 376.4 MB, free: 4.363 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.061e-05/0.007993, allocations: 83.77 kB / 376.5 MB, free: 4.281 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003708/0.008364, allocations: 299.1 kB / 376.8 MB, free: 3.988 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.043e-06/0.008366, allocations: 0 / 376.8 MB, free: 3.988 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.008366, allocations: 0 / 376.8 MB, free: 3.988 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.008372, allocations: 0 / 376.8 MB, free: 3.988 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.0005987/0.00897, allocations: 0.55 MB / 377.4 MB, free: 3.402 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.009021, allocations: 15.98 kB / 377.4 MB, free: 3.387 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004975/0.009519, allocations: 116.6 kB / 377.5 MB, free: 3.273 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002308/0.00975, allocations: 204 kB / 377.7 MB, free: 3.051 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.009765, allocations: 12.38 kB / 377.7 MB, free: 3.039 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.084e-05/0.009796, allocations: 20.38 kB / 377.7 MB, free: 3.02 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002223/0.01002, allocations: 216.2 kB / 377.9 MB, free: 2.781 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.01003, allocations: 3.938 kB / 377.9 MB, free: 2.777 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.01004, allocations: 8 kB / 377.9 MB, free: 2.77 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.644e-05/0.01007, allocations: 16 kB / 378 MB, free: 2.754 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.01019, allocations: 99.77 kB / 378.1 MB, free: 2.656 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009142/0.0111, allocations: 1.273 MB / 379.3 MB, free: 1.301 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002691/0.01137, allocations: 166.2 kB / 379.5 MB, free: 1.113 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.408e-05/0.0114, allocations: 35.14 kB / 379.5 MB, free: 1.074 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.01143, allocations: 11.94 kB / 379.5 MB, free: 1.062 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.01145, allocations: 41.39 kB / 379.6 MB, free: 1.012 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.392e-06/0.01145, allocations: 0 / 379.6 MB, free: 1.012 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004861/0.01194, allocations: 212.8 kB / 379.8 MB, free: 0.793 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.01198, allocations: 85.11 kB / 379.9 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.01212, allocations: 234.5 kB / 380.1 MB, free: 452 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.01213, allocations: 25.7 kB / 380.1 MB, free: 420 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.01224, allocations: 226.8 kB / 380.4 MB, free: 184 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.227e-05/0.01227, allocations: 47.75 kB / 380.4 MB, free: 136 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.675e-05/0.01233, allocations: 55.3 kB / 380.5 MB, free: 72 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.0125, allocations: 0.5001 MB / 381 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.793e-05/0.01253, allocations: 15.98 kB / 381 MB, free: 15.54 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.01263, allocations: 163.1 kB / 381.1 MB, free: 15.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001672/0.0128, allocations: 203 kB / 381.3 MB, free: 15.06 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.0128, allocations: 4 kB / 381.3 MB, free: 15.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002358/0.01304, allocations: 200.8 kB / 381.5 MB, free: 14.85 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.01305, allocations: 8 kB / 381.5 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.01306, allocations: 4 kB / 381.5 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001448/0.0132, allocations: 44.03 kB / 381.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.544e-05/0.01328, allocations: 43.92 kB / 381.6 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000804/0.01408, allocations: 1.718 MB / 383.3 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.287e-05/0.01415, allocations: 4 kB / 383.3 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.01416, allocations: 12 kB / 383.4 MB, free: 12.9 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 9.911e-05/0.01426, allocations: 188.4 kB / 383.5 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.738e-05/0.01428, allocations: 19.91 kB / 383.6 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001701/0.01445, allocations: 126.8 kB / 383.7 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.01446, allocations: 0 / 383.7 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.01446, allocations: 3.938 kB / 383.7 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.01447, allocations: 11.92 kB / 383.7 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004036/0.01487, allocations: 443.6 kB / 384.1 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.01487, allocations: 8.031 kB / 384.1 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.051e-05/0.01491, allocations: 19.98 kB / 384.2 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.83e-05/0.01499, allocations: 31.66 kB / 384.2 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.015, allocations: 4 kB / 384.2 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006725/0.01567, allocations: 1.729 MB / 385.9 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.01567, allocations: 4 kB / 385.9 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002052/0.01588, allocations: 314 kB / 386.2 MB, free: 9.797 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.45e-05/0.01589, allocations: 15.91 kB / 386.2 MB, free: 9.781 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.086e-05/0.0159, allocations: 4 kB / 386.3 MB, free: 9.777 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.903e-05/0.01595, allocations: 11.98 kB / 386.3 MB, free: 9.766 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.137e-05/0.01597, allocations: 19.8 kB / 386.3 MB, free: 9.746 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-06/0.01598, allocations: 4 kB / 386.3 MB, free: 9.742 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.636e-05/0.01604, allocations: 161.2 kB / 386.4 MB, free: 9.586 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01604, allocations: 4 kB / 386.4 MB, free: 9.582 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002084/0.01625, allocations: 52 kB / 386.5 MB, free: 9.531 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 8.064e-05/0.01633, allocations: 95.23 kB / 386.6 MB, free: 9.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002751/0.0166, allocations: 268.4 kB / 386.9 MB, free: 9.148 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.0166, allocations: 4.062 kB / 386.9 MB, free: 9.145 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000127/0.01673, allocations: 217.4 kB / 387.1 MB, free: 8.91 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/0.01697, allocations: 35.48 kB / 387.1 MB, free: 8.879 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007727/0.01774, allocations: 425.5 kB / 387.5 MB, free: 8.414 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.948e-05/0.0178, allocations: 91.95 kB / 387.6 MB, free: 8.305 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.201e-05/0.01785, allocations: 25.47 kB / 387.6 MB, free: 8.281 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.624e-05/0.01792, allocations: 86.2 kB / 387.7 MB, free: 8.195 MB / 362.7 MB Notification: Performance of SimCode: time 1.062e-06/0.01792, allocations: 0 / 387.7 MB, free: 8.195 MB / 362.7 MB Notification: Performance of Templates: time 0.003506/0.02143, allocations: 1.751 MB / 389.5 MB, free: 6.465 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: 2.8782210648059845]