Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 99.98 kB / 19.61 MB, free: 2.727 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 194.9 kB / 22.76 MB, free: 5.457 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 225.6 MB / 251.4 MB, free: 13.4 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1812/0.1812, allocations: 38.51 MB / 344.9 MB, free: 2.594 MB / 270.1 MB [Timeout remaining time 90] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=740,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=740,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 67.91 kB / 482.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3358, allocations: 61.24 MB / 0.5309 GB, free: 5.473 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.004793/0.3406, allocations: 4.15 MB / 0.535 GB, free: 2.562 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.342, allocations: 0.9141 MB / 0.5359 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001718/0.3421, allocations: 14.75 kB / 0.5359 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001925/0.3423, allocations: 51.73 kB / 0.5359 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004719/0.3428, allocations: 178.3 kB / 0.5361 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002103/0.343, allocations: 88.02 kB / 0.5362 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004071/0.3434, allocations: 401.9 kB / 0.5366 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002015/0.3436, allocations: 91.56 kB / 0.5367 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002407/0.3439, allocations: 187 kB / 0.5368 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003094/0.3442, allocations: 191.3 kB / 0.537 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.458e-05/0.3442, allocations: 19.34 kB / 0.537 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.293e-05/0.3443, allocations: 19.94 kB / 0.5371 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.071e-05/0.3444, allocations: 92.44 kB / 0.5372 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001237/0.3445, allocations: 144 kB / 0.5373 GB, free: 1.137 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003012/0.3448, allocations: 288.2 kB / 0.5376 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3448, allocations: 0 / 0.5376 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3448, allocations: 0 / 0.5376 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.3448, allocations: 1.375 kB / 0.5376 GB, free: 0.9453 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.00084/0.3456, allocations: 0.6017 MB / 0.5382 GB, free: 412 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.3457, allocations: 17.42 kB / 0.5382 GB, free: 404 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.227e-05/0.3457, allocations: 35.83 kB / 0.5382 GB, free: 384 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004036/0.3461, allocations: 343.8 kB / 0.5385 GB, free: 60 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.3461, allocations: 22.17 kB / 0.5386 GB, free: 48 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.93e-05/0.3462, allocations: 21.75 kB / 0.5386 GB, free: 40 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004604/0.3466, allocations: 293.5 kB / 0.5389 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.3467, allocations: 0 / 0.5389 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.594e-05/0.3467, allocations: 14.69 kB / 0.5389 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.3467, allocations: 5.531 kB / 0.5389 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003165/0.347, allocations: 182.1 kB / 0.539 GB, free: 15.72 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001538/0.3485, allocations: 1.229 MB / 0.5402 GB, free: 14.58 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003026/0.3488, allocations: 101.6 kB / 0.5403 GB, free: 14.5 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.11e-05/0.3489, allocations: 46.52 kB / 0.5404 GB, free: 14.46 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.3489, allocations: 1.062 kB / 0.5404 GB, free: 14.46 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.349, allocations: 39.64 kB / 0.5404 GB, free: 14.42 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.349, allocations: 1 kB / 0.5404 GB, free: 14.42 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008779/0.3499, allocations: 492.4 kB / 0.5409 GB, free: 14 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.032e-05/0.3499, allocations: 82.55 kB / 0.541 GB, free: 13.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000248/0.3502, allocations: 252.6 kB / 0.5412 GB, free: 13.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.815e-05/0.3502, allocations: 25.7 kB / 0.5412 GB, free: 13.7 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/0.3504, allocations: 197.7 kB / 0.5414 GB, free: 13.52 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.086e-05/0.3504, allocations: 44.95 kB / 0.5415 GB, free: 13.48 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.056e-05/0.3505, allocations: 44.73 kB / 0.5415 GB, free: 13.44 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.3507, allocations: 336.1 kB / 0.5418 GB, free: 13.11 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.466e-05/0.3507, allocations: 39 kB / 0.5419 GB, free: 13.09 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/0.3509, allocations: 135.8 kB / 0.542 GB, free: 12.94 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002509/0.3511, allocations: 195.9 kB / 0.5422 GB, free: 12.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3511, allocations: 1.219 kB / 0.5422 GB, free: 12.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003214/0.3514, allocations: 213.2 kB / 0.5424 GB, free: 12.63 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.3515, allocations: 6.281 kB / 0.5424 GB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.3515, allocations: 3.781 kB / 0.5424 GB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.3515, allocations: 5.469 kB / 0.5424 GB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001803/0.3517, allocations: 46.61 kB / 0.5425 GB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.3517, allocations: 7.891 kB / 0.5425 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.3518, allocations: 8.156 kB / 0.5425 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/0.3518, allocations: 17.06 kB / 0.5425 GB, free: 12.6 MB / 398.1 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): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001498/0.352, allocations: 147.9 kB / 0.5426 GB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.581e-05/0.352, allocations: 23.14 kB / 0.5426 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002523/0.3523, allocations: 137.2 kB / 0.5428 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.3523, allocations: 2.125 kB / 0.5428 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.3523, allocations: 1.219 kB / 0.5428 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.3523, allocations: 7.922 kB / 0.5428 GB, free: 12.35 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006115/0.3529, allocations: 474 kB / 0.5432 GB, free: 11.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.3529, allocations: 1.469 kB / 0.5432 GB, free: 11.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001285/0.353, allocations: 26.39 kB / 0.5433 GB, free: 11.92 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.353, allocations: 1.344 kB / 0.5433 GB, free: 11.92 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.353, allocations: 9.281 kB / 0.5433 GB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.353, allocations: 1.281 kB / 0.5433 GB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.353, allocations: 1.219 kB / 0.5433 GB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003663/0.3534, allocations: 281.5 kB / 0.5435 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.594e-05/0.3535, allocations: 99.88 kB / 0.5436 GB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.365e-05/0.3535, allocations: 9.297 kB / 0.5437 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.3536, allocations: 1.344 kB / 0.5437 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.747e-05/0.3537, allocations: 12.98 kB / 0.5437 GB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.3537, allocations: 3.375 kB / 0.5437 GB, free: 11.56 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001622/0.3538, allocations: 174.4 kB / 0.5438 GB, free: 11.44 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3538, allocations: 4.062 kB / 0.5438 GB, free: 11.44 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003358/0.3542, allocations: 47.7 kB / 0.5439 GB, free: 11.43 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * 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 (13): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001245/0.3543, allocations: 110 kB / 0.544 GB, free: 11.33 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002321/0.3545, allocations: 103.4 kB / 0.5441 GB, free: 11.29 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3545, allocations: 0.875 kB / 0.5441 GB, free: 11.29 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.239e-05/0.3546, allocations: 52.89 kB / 0.5441 GB, free: 11.26 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004794/0.3551, allocations: 56.03 kB / 0.5442 GB, free: 11.23 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.3561, allocations: 0.5799 MB / 0.5448 GB, free: 10.81 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004379/0.3566, allocations: 0.7699 MB / 0.5455 GB, free: 10.07 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.57e-05/0.3566, allocations: 21.56 kB / 0.5455 GB, free: 10.06 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3566, allocations: 0 / 0.5455 GB, free: 10.06 MB / 398.1 MB Notification: Performance of Templates: time 0.005816/0.3624, allocations: 2.979 MB / 0.5484 GB, free: 8.516 MB / 398.1 MB [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe 2>&1) [Timeout 480]