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.00142/0.00142, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.00155/0.00155, allocations: 161.6 kB / 24.26 MB, free: 176 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.532/1.532, allocations: 177.2 MB / 204.6 MB, free: 5.594 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.3034/0.3034, allocations: 29.42 MB / 290.5 MB, free: 2.449 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 2.134e-06/2.134e-06, allocations: 0 / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.002e-05/3.215e-05, allocations: 2.312 kB / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.005822/0.005854, allocations: 3.419 MB / 372.3 MB, free: 7.883 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002377/0.00823, allocations: 1.372 MB / 373.7 MB, free: 6.504 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001356/0.008366, allocations: 11.94 kB / 373.7 MB, free: 6.492 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009303/0.009296, allocations: 250.9 kB / 373.9 MB, free: 6.246 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006689/0.009965, allocations: 286.6 kB / 374.2 MB, free: 5.965 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003204/0.01029, allocations: 111.5 kB / 374.3 MB, free: 5.855 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004408/0.01073, allocations: 338.9 kB / 374.6 MB, free: 5.523 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002941/0.01102, allocations: 110.1 kB / 374.7 MB, free: 5.418 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003875/0.01141, allocations: 207.3 kB / 375 MB, free: 5.215 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002768/0.01168, allocations: 151.5 kB / 375.1 MB, free: 5.066 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.574e-05/0.01172, allocations: 16 kB / 375.1 MB, free: 5.051 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004586/0.01218, allocations: 271 kB / 375.4 MB, free: 4.785 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001387/0.01232, allocations: 107.7 kB / 375.5 MB, free: 4.68 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.01243, allocations: 71.84 kB / 375.6 MB, free: 4.609 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005335/0.01297, allocations: 351 kB / 375.9 MB, free: 4.266 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.01297, allocations: 0 / 375.9 MB, free: 4.266 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.01297, allocations: 4 kB / 375.9 MB, free: 4.262 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.01298, allocations: 0 / 375.9 MB, free: 4.262 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.0009398/0.01392, allocations: 456.9 kB / 376.3 MB, free: 3.785 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.01396, allocations: 11.98 kB / 376.4 MB, free: 3.773 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009601/0.01492, allocations: 140.6 kB / 376.5 MB, free: 3.637 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003742/0.01529, allocations: 202 kB / 376.7 MB, free: 3.414 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.01532, allocations: 20.36 kB / 376.7 MB, free: 3.395 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.856e-05/0.01536, allocations: 16.38 kB / 376.7 MB, free: 3.379 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005428/0.01591, allocations: 323.2 kB / 377 MB, free: 3.043 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.01592, allocations: 3.938 kB / 377 MB, free: 3.039 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.149e-05/0.01595, allocations: 11.98 kB / 377.1 MB, free: 3.027 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.475e-05/0.01599, allocations: 12 kB / 377.1 MB, free: 3.016 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004969/0.01649, allocations: 287.8 kB / 377.4 MB, free: 2.734 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001897/0.01838, allocations: 1.178 MB / 378.5 MB, free: 1.477 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000619/0.019, allocations: 205.1 kB / 378.7 MB, free: 1.258 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.01912, allocations: 57.27 kB / 378.8 MB, free: 1.199 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.01915, allocations: 0 / 378.8 MB, free: 1.199 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.187e-05/0.01919, allocations: 38.55 kB / 378.8 MB, free: 1.152 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.022e-06/0.01919, allocations: 0 / 378.8 MB, free: 1.152 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.001044/0.02023, allocations: 369.4 kB / 379.2 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.782e-05/0.0203, allocations: 77.11 kB / 379.3 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002167/0.02052, allocations: 195.4 kB / 379.5 MB, free: 496 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.02054, allocations: 29.7 kB / 379.5 MB, free: 460 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.02068, allocations: 168.4 kB / 379.6 MB, free: 288 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.839e-05/0.02073, allocations: 47.62 kB / 379.7 MB, free: 240 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.85e-05/0.02081, allocations: 49.59 kB / 379.7 MB, free: 184 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002053/0.02101, allocations: 326.8 kB / 380.1 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.751e-05/0.02111, allocations: 47.97 kB / 380.1 MB, free: 15.8 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001918/0.0213, allocations: 156.8 kB / 380.3 MB, free: 15.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003196/0.02162, allocations: 228.7 kB / 380.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.02162, allocations: 0 / 380.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005144/0.02214, allocations: 274.4 kB / 380.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.02216, allocations: 12.03 kB / 380.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.02217, allocations: 7.938 kB / 380.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002939/0.02246, allocations: 44.83 kB / 380.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.02261, allocations: 39.92 kB / 380.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001414/0.02403, allocations: 1.319 MB / 382.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/0.02415, allocations: 12.06 kB / 382.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.321e-05/0.02417, allocations: 12 kB / 382.2 MB, free: 13.51 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.000182/0.02435, allocations: 157.7 kB / 382.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.983e-05/0.0244, allocations: 19.91 kB / 382.4 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004254/0.02483, allocations: 179.9 kB / 382.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.02483, allocations: 7.938 kB / 382.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.02484, allocations: 4.094 kB / 382.6 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.02484, allocations: 0 / 382.6 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008624/0.0257, allocations: 496.4 kB / 383 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.0257, allocations: 0 / 383 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002309/0.02593, allocations: 23.92 kB / 383.1 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001659/0.0261, allocations: 40.91 kB / 383.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.02612, allocations: 8 kB / 383.1 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001323/0.02744, allocations: 1.292 MB / 384.4 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.02744, allocations: 3.938 kB / 384.4 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004693/0.02791, allocations: 307.1 kB / 384.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.747e-05/0.02795, allocations: 27.84 kB / 384.7 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.02797, allocations: 0 / 384.7 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.02808, allocations: 8 kB / 384.7 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.985e-05/0.02812, allocations: 11.97 kB / 384.8 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.02813, allocations: 4 kB / 384.8 MB, free: 10.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001348/0.02827, allocations: 137.2 kB / 384.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02827, allocations: 0 / 384.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000385/0.02865, allocations: 51.94 kB / 384.9 MB, free: 10.56 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.0001536/0.02881, allocations: 99.25 kB / 385 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005435/0.02935, allocations: 260.6 kB / 385.3 MB, free: 10.19 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.02935, allocations: 0 / 385.3 MB, free: 10.19 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002584/0.02961, allocations: 170.5 kB / 385.5 MB, free: 10.01 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003922/0.03, allocations: 40.12 kB / 385.5 MB, free: 9.977 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008755/0.03088, allocations: 432.4 kB / 385.9 MB, free: 9.516 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001941/0.03107, allocations: 155.8 kB / 386.1 MB, free: 9.34 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001171/0.03119, allocations: 45.44 kB / 386.1 MB, free: 9.297 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.661e-05/0.03125, allocations: 20.5 kB / 386.1 MB, free: 9.277 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.03125, allocations: 0 / 386.1 MB, free: 9.277 MB / 362.7 MB Notification: Performance of Templates: time 0.005693/0.03694, allocations: 1.631 MB / 387.8 MB, free: 7.668 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.60961662104819]