Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.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.00107/0.00107, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001177/0.001177, allocations: 162.2 kB / 25.6 MB, free: 8.59 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 0.9331/0.9331, allocations: 177.1 MB / 206.1 MB, free: 4.504 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.1222/0.1222, allocations: 29.42 MB / 292 MB, free: 2.625 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.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=741,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=741,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 3.938 kB / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.08e-05/2.237e-05, allocations: 3.031 kB / 370.9 MB, free: 32.31 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.003397/0.00342, allocations: 3.978 MB / 374.9 MB, free: 28.32 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009386/0.004358, allocations: 0.9271 MB / 375.8 MB, free: 27.39 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001343/0.004493, allocations: 19.81 kB / 375.8 MB, free: 27.37 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001595/0.004652, allocations: 51.55 kB / 375.9 MB, free: 27.32 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003856/0.005038, allocations: 242.7 kB / 376.1 MB, free: 27.08 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001532/0.005191, allocations: 107.7 kB / 376.2 MB, free: 26.97 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002837/0.005475, allocations: 0.5022 MB / 376.7 MB, free: 26.47 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/0.005625, allocations: 96.61 kB / 376.8 MB, free: 26.37 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003099/0.005935, allocations: 351 kB / 377.1 MB, free: 26.03 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002128/0.006148, allocations: 235.3 kB / 377.4 MB, free: 25.8 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.831e-05/0.006176, allocations: 20 kB / 377.4 MB, free: 25.78 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.172e-05/0.006208, allocations: 24 kB / 377.4 MB, free: 25.75 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.274e-05/0.006301, allocations: 163.6 kB / 377.6 MB, free: 25.59 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.734e-05/0.006378, allocations: 119.7 kB / 377.7 MB, free: 25.48 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001955/0.006573, allocations: 267 kB / 377.9 MB, free: 25.21 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.006576, allocations: 0 / 377.9 MB, free: 25.21 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.006576, allocations: 0 / 377.9 MB, free: 25.21 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.006581, allocations: 0 / 377.9 MB, free: 25.21 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0005253/0.007106, allocations: 0.6716 MB / 378.6 MB, free: 24.5 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.007138, allocations: 8.031 kB / 378.6 MB, free: 24.5 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.837e-05/0.007197, allocations: 64.66 kB / 378.7 MB, free: 24.43 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002365/0.007433, allocations: 294 kB / 379 MB, free: 24.12 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.007447, allocations: 16.88 kB / 379 MB, free: 24.11 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.072e-05/0.007478, allocations: 28.38 kB / 379 MB, free: 24.08 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/0.007675, allocations: 259.6 kB / 379.3 MB, free: 23.79 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.007685, allocations: 0 / 379.3 MB, free: 23.79 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/0.007706, allocations: 15.98 kB / 379.3 MB, free: 23.77 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.921e-05/0.007775, allocations: 20.5 kB / 379.3 MB, free: 23.75 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.733e-05/0.007873, allocations: 87.3 kB / 379.4 MB, free: 23.67 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000728/0.008601, allocations: 1.425 MB / 380.8 MB, free: 22.18 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001696/0.00877, allocations: 130 kB / 380.9 MB, free: 22.02 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.989e-05/0.00884, allocations: 59.39 kB / 381 MB, free: 21.96 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.008855, allocations: 4 kB / 381 MB, free: 21.95 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.794e-05/0.008873, allocations: 45.38 kB / 381.1 MB, free: 21.9 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 1.834e-06/0.008875, allocations: 0 / 381.1 MB, free: 21.9 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005812/0.009456, allocations: 365.1 kB / 381.4 MB, free: 21.5 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.176e-05/0.009478, allocations: 85.11 kB / 381.5 MB, free: 21.4 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.009603, allocations: 342.1 kB / 381.8 MB, free: 21.04 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.009614, allocations: 33.7 kB / 381.9 MB, free: 21 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.331e-05/0.009687, allocations: 270.7 kB / 382.1 MB, free: 20.73 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.354e-05/0.00971, allocations: 55.52 kB / 382.2 MB, free: 20.68 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-05/0.009756, allocations: 63.28 kB / 382.2 MB, free: 20.61 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.552e-05/0.009812, allocations: 0.5157 MB / 382.8 MB, free: 20.08 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.747e-05/0.009839, allocations: 19.92 kB / 382.8 MB, free: 20.06 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.36e-05/0.009903, allocations: 159.8 kB / 382.9 MB, free: 19.84 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000111/0.01001, allocations: 207.1 kB / 383.1 MB, free: 19.58 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.01002, allocations: 0 / 383.1 MB, free: 19.58 MB / 314.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000201/0.01022, allocations: 224.7 kB / 383.4 MB, free: 19.35 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.01023, allocations: 4 kB / 383.4 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.01023, allocations: 4 kB / 383.4 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001147/0.01035, allocations: 40.03 kB / 383.4 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.039e-05/0.01044, allocations: 51.91 kB / 383.5 MB, free: 19.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005495/0.01099, allocations: 1.74 MB / 385.2 MB, free: 17.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.761e-05/0.01106, allocations: 8 kB / 385.2 MB, free: 17.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.01107, allocations: 16.12 kB / 385.2 MB, free: 17.37 MB / 314.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 (28): * Single equations (assignments): 27 * 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 7.059e-05/0.01114, allocations: 164.5 kB / 385.4 MB, free: 17.2 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.242e-05/0.01117, allocations: 35.8 kB / 385.4 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001642/0.01133, allocations: 162.1 kB / 385.6 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.01134, allocations: 4 kB / 385.6 MB, free: 16.99 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.01134, allocations: 0 / 385.6 MB, free: 16.99 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.01134, allocations: 0 / 385.6 MB, free: 16.99 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003269/0.01167, allocations: 461.3 kB / 386 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.01167, allocations: 0 / 386 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.903e-05/0.01172, allocations: 35.95 kB / 386.1 MB, free: 16.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.96e-05/0.01182, allocations: 39.59 kB / 386.1 MB, free: 16.42 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.01183, allocations: 8 kB / 386.1 MB, free: 16.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004461/0.01228, allocations: 1.748 MB / 387.9 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01228, allocations: 0 / 387.9 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001856/0.01246, allocations: 345.7 kB / 388.2 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.77e-05/0.01248, allocations: 27.8 kB / 388.2 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.0125, allocations: 4 kB / 388.2 MB, free: 14.15 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.109e-05/0.01256, allocations: 7.984 kB / 388.2 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.776e-05/0.01258, allocations: 15.92 kB / 388.2 MB, free: 14.13 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.01259, allocations: 8 kB / 388.3 MB, free: 14.12 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.249e-05/0.01265, allocations: 206.9 kB / 388.5 MB, free: 13.92 MB / 314.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01265, allocations: 96 / 388.5 MB, free: 13.92 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002088/0.01286, allocations: 76 kB / 388.5 MB, free: 13.85 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * 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 (16): * Single equations (assignments): 14 * 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 7.637e-05/0.01293, allocations: 101.8 kB / 388.6 MB, free: 13.74 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002481/0.01318, allocations: 290.6 kB / 388.9 MB, free: 13.44 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.01318, allocations: 8 kB / 388.9 MB, free: 13.43 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001275/0.01331, allocations: 241.3 kB / 389.2 MB, free: 13.17 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.01361, allocations: 69.59 kB / 389.2 MB, free: 13.11 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008407/0.01445, allocations: 0.6399 MB / 389.9 MB, free: 12.43 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.872e-05/0.0145, allocations: 112.3 kB / 390 MB, free: 12.3 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.709e-05/0.01457, allocations: 38.95 kB / 390 MB, free: 12.26 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.823e-05/0.01466, allocations: 122.2 kB / 390.1 MB, free: 12.14 MB / 314.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01466, allocations: 0 / 390.1 MB, free: 12.14 MB / 314.7 MB Notification: Performance of Templates: time 0.004632/0.01929, allocations: 3.31 MB / 393.4 MB, free: 8.898 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2046399861574173]