Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.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.0009706/0.0009706, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001013/0.001013, allocations: 161 kB / 24.56 MB, free: 12 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 0.9557/0.9557, allocations: 177.1 MB / 205 MB, free: 5.625 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.249/0.249, allocations: 29.42 MB / 290.9 MB, free: 2.523 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.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance") translateModel(PowerSystems.Examples.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.811e-05/3.012e-05, allocations: 6.312 kB / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.004501/0.004531, allocations: 4.224 MB / 373.9 MB, free: 6.758 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002131/0.006662, allocations: 1.461 MB / 375.3 MB, free: 5.293 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002764/0.006938, allocations: 19.81 kB / 375.3 MB, free: 5.273 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005809/0.007519, allocations: 151.1 kB / 375.5 MB, free: 5.125 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005081/0.008027, allocations: 242.6 kB / 375.7 MB, free: 4.887 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007098/0.008737, allocations: 267.1 kB / 376 MB, free: 4.625 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006662/0.009403, allocations: 0.5727 MB / 376.6 MB, free: 4.051 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004318/0.009835, allocations: 242.7 kB / 376.8 MB, free: 3.812 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005566/0.01039, allocations: 351 kB / 377.1 MB, free: 3.469 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004104/0.0108, allocations: 303.2 kB / 377.4 MB, free: 3.172 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.264e-05/0.01085, allocations: 36 kB / 377.5 MB, free: 3.137 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003674/0.01122, allocations: 155.7 kB / 377.6 MB, free: 2.984 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002571/0.01148, allocations: 239.4 kB / 377.9 MB, free: 2.75 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001985/0.01168, allocations: 171.6 kB / 378 MB, free: 2.582 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006941/0.01237, allocations: 474.5 kB / 378.5 MB, free: 2.117 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.01237, allocations: 0 / 378.5 MB, free: 2.117 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.01238, allocations: 0 / 378.5 MB, free: 2.117 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.01238, allocations: 0 / 378.5 MB, free: 2.117 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.00123/0.01362, allocations: 0.821 MB / 379.3 MB, free: 1.262 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.01366, allocations: 11.98 kB / 379.3 MB, free: 1.25 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003713/0.01737, allocations: 172.5 kB / 379.5 MB, free: 1.082 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005925/0.01796, allocations: 358.7 kB / 379.8 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.138e-05/0.01799, allocations: 29.38 kB / 379.9 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/0.01813, allocations: 56.72 kB / 379.9 MB, free: 0.625 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000643/0.01877, allocations: 0.5102 MB / 380.4 MB, free: 28 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.01879, allocations: 3.938 kB / 380.4 MB, free: 24 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.162e-05/0.01883, allocations: 24 kB / 380.5 MB, free: 0 / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001045/0.01894, allocations: 28.98 kB / 380.5 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004448/0.01938, allocations: 225.6 kB / 380.7 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005887/0.02527, allocations: 3.472 MB / 384.2 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002238/0.02549, allocations: 136.8 kB / 384.3 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.123e-05/0.02558, allocations: 63.41 kB / 384.4 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.188e-05/0.02562, allocations: 4 kB / 384.4 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.02565, allocations: 41.39 kB / 384.4 MB, free: 11.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 2.645e-06/0.02565, allocations: 0 / 384.4 MB, free: 11.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=21): time 0.004121/0.02977, allocations: 0.5953 MB / 385 MB, free: 11.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.02981, allocations: 81.11 kB / 385.1 MB, free: 11.11 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003255/0.03014, allocations: 394.5 kB / 385.5 MB, free: 10.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.03016, allocations: 29.7 kB / 385.5 MB, free: 10.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001966/0.03036, allocations: 358.7 kB / 385.9 MB, free: 10.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.621e-05/0.03042, allocations: 83.31 kB / 385.9 MB, free: 10.22 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/0.03054, allocations: 91.8 kB / 386 MB, free: 10.12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.0307, allocations: 0.5235 MB / 386.6 MB, free: 9.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.03081, allocations: 52.95 kB / 386.6 MB, free: 9.539 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000272/0.03109, allocations: 347.2 kB / 386.9 MB, free: 9.07 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004483/0.03154, allocations: 448.6 kB / 387.4 MB, free: 8.504 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.03154, allocations: 8 kB / 387.4 MB, free: 8.496 MB / 362.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.00381/0.03535, allocations: 424.5 kB / 387.8 MB, free: 8.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/0.03538, allocations: 8 kB / 387.8 MB, free: 8.062 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003138/0.03569, allocations: 150.2 kB / 388 MB, free: 7.914 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003531/0.03605, allocations: 80.12 kB / 388 MB, free: 7.832 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002719/0.03632, allocations: 95.83 kB / 388.1 MB, free: 7.738 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0046/0.04092, allocations: 1.853 MB / 390 MB, free: 5.762 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003109/0.04123, allocations: 23.95 kB / 390 MB, free: 5.738 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.043e-05/0.04126, allocations: 16 kB / 390 MB, free: 5.723 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (50): * Single equations (assignments): 49 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002469/0.04151, allocations: 196.4 kB / 390.2 MB, free: 5.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.678e-05/0.04158, allocations: 39.75 kB / 390.3 MB, free: 5.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003767/0.04196, allocations: 196.7 kB / 390.4 MB, free: 5.277 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.04197, allocations: 4 kB / 390.5 MB, free: 5.273 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.04197, allocations: 0 / 390.5 MB, free: 5.273 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.04198, allocations: 3.984 kB / 390.5 MB, free: 5.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.04298, allocations: 0.6441 MB / 391.1 MB, free: 4.578 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.04298, allocations: 0 / 391.1 MB, free: 4.578 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002161/0.0432, allocations: 60.05 kB / 391.2 MB, free: 4.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.0432, allocations: 0 / 391.2 MB, free: 4.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.417e-05/0.04323, allocations: 11.97 kB / 391.2 MB, free: 4.508 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.04323, allocations: 0 / 391.2 MB, free: 4.508 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.04323, allocations: 4 kB / 391.2 MB, free: 4.504 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004535/0.04369, allocations: 410.9 kB / 391.6 MB, free: 4.07 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003075/0.04676, allocations: 27.75 kB / 391.6 MB, free: 4.043 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.203e-05/0.0468, allocations: 12.06 kB / 391.6 MB, free: 4.031 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.04693, allocations: 11.98 kB / 391.6 MB, free: 4.02 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.536e-05/0.04698, allocations: 15.97 kB / 391.6 MB, free: 4.004 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.04699, allocations: 4 kB / 391.6 MB, free: 4 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001988/0.04719, allocations: 243.1 kB / 391.9 MB, free: 3.766 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.04719, allocations: 0 / 391.9 MB, free: 3.766 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005335/0.04773, allocations: 99.94 kB / 392 MB, free: 3.668 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * 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 (24): * Single equations (assignments): 23 * 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.0001417/0.04787, allocations: 111.1 kB / 392.1 MB, free: 3.547 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006756/0.04854, allocations: 403.6 kB / 392.5 MB, free: 3.133 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.04855, allocations: 1.75 kB / 392.5 MB, free: 3.133 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000125/0.04867, allocations: 79.52 kB / 392.6 MB, free: 3.051 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004673/0.04914, allocations: 79.28 kB / 392.6 MB, free: 2.984 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005043/0.05418, allocations: 0.8413 MB / 393.5 MB, free: 2.098 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001379/0.05432, allocations: 145.2 kB / 393.6 MB, free: 1.934 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002554/0.05457, allocations: 99.16 kB / 393.7 MB, free: 1.836 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.143e-05/0.05466, allocations: 28.5 kB / 393.7 MB, free: 1.809 MB / 362.7 MB Notification: Performance of SimCode: time 1.703e-06/0.05466, allocations: 0 / 393.7 MB, free: 1.809 MB / 362.7 MB Notification: Performance of Templates: time 0.01754/0.0722, allocations: 3.592 MB / 397.3 MB, free: 14.28 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.083468174096197]