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.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.001325/0.001325, allocations: 112.2 kB / 21.19 MB, free: 0.7578 MB / 14.72 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.001492/0.001492, allocations: 209.8 kB / 24.5 MB, free: 4.133 MB / 14.72 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.401/1.401, allocations: 230.6 MB / 258.3 MB, free: 8.035 MB / 206.1 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.1818/0.1818, allocations: 38.53 MB / 353.2 MB, free: 12.56 MB / 286.1 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.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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002063/0.002063, allocations: 74.39 kB / 493.8 MB, free: 4.387 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3412, allocations: 62.46 MB / 0.5432 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.005818/0.347, allocations: 4.227 MB / 0.5474 GB, free: 13.31 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001727/0.3487, allocations: 0.9524 MB / 0.5483 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001853/0.3489, allocations: 14.66 kB / 0.5483 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002299/0.3491, allocations: 48.28 kB / 0.5483 GB, free: 12.49 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005308/0.3496, allocations: 178.4 kB / 0.5485 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002435/0.3499, allocations: 93.02 kB / 0.5486 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005218/0.3504, allocations: 401.7 kB / 0.549 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002502/0.3507, allocations: 78.78 kB / 0.5491 GB, free: 12 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003948/0.3511, allocations: 188.5 kB / 0.5492 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003913/0.3514, allocations: 199 kB / 0.5494 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.534e-05/0.3515, allocations: 19.25 kB / 0.5494 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.343e-05/0.3515, allocations: 19.75 kB / 0.5495 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.3517, allocations: 92.86 kB / 0.5496 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001651/0.3518, allocations: 139.1 kB / 0.5497 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004192/0.3522, allocations: 289.3 kB / 0.55 GB, free: 11.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.3523, allocations: 4 kB / 0.55 GB, free: 11.43 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3523, allocations: 0 / 0.55 GB, free: 11.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.406e-06/0.3523, allocations: 0 / 0.55 GB, free: 11.43 MB / 398.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.00104/0.3533, allocations: 0.5226 MB / 0.5505 GB, free: 10.99 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.3533, allocations: 17.94 kB / 0.5505 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.376e-05/0.3534, allocations: 35.16 kB / 0.5505 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005387/0.354, allocations: 284.1 kB / 0.5508 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.761e-05/0.354, allocations: 21.22 kB / 0.5508 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.104e-05/0.354, allocations: 22.25 kB / 0.5508 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004604/0.3545, allocations: 296.9 kB / 0.5511 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.3545, allocations: 1.031 kB / 0.5511 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.3545, allocations: 6.281 kB / 0.5511 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.3546, allocations: 5.844 kB / 0.5511 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003076/0.3549, allocations: 182.4 kB / 0.5513 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001518/0.3564, allocations: 1.196 MB / 0.5525 GB, free: 9.277 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003335/0.3567, allocations: 106.7 kB / 0.5526 GB, free: 9.195 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.186e-05/0.3568, allocations: 42.52 kB / 0.5526 GB, free: 9.164 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.3568, allocations: 1.156 kB / 0.5526 GB, free: 9.164 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/0.3568, allocations: 35.84 kB / 0.5527 GB, free: 9.121 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/0.3569, allocations: 0 / 0.5527 GB, free: 9.121 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008734/0.3577, allocations: 416 kB / 0.5531 GB, free: 8.801 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.589e-05/0.3578, allocations: 78.48 kB / 0.5531 GB, free: 8.707 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002579/0.358, allocations: 243.4 kB / 0.5534 GB, free: 8.539 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.3581, allocations: 30.98 kB / 0.5534 GB, free: 8.504 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/0.3582, allocations: 209.2 kB / 0.5536 GB, free: 8.312 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.612e-05/0.3582, allocations: 36.36 kB / 0.5536 GB, free: 8.281 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.795e-05/0.3583, allocations: 45.38 kB / 0.5537 GB, free: 8.246 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.3585, allocations: 339.5 kB / 0.554 GB, free: 7.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.248e-05/0.3585, allocations: 39.72 kB / 0.554 GB, free: 7.891 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001512/0.3587, allocations: 133.4 kB / 0.5542 GB, free: 7.742 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002486/0.3589, allocations: 192.4 kB / 0.5543 GB, free: 7.559 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3589, allocations: 1.375 kB / 0.5543 GB, free: 7.559 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003382/0.3593, allocations: 209.3 kB / 0.5545 GB, free: 7.438 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.3593, allocations: 7.344 kB / 0.5545 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.3593, allocations: 3.375 kB / 0.5546 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.3593, allocations: 4.562 kB / 0.5546 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001849/0.3595, allocations: 50.06 kB / 0.5546 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.3595, allocations: 5.406 kB / 0.5546 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.3597, allocations: 11.25 kB / 0.5546 GB, free: 7.414 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.3597, allocations: 9.219 kB / 0.5546 GB, free: 7.414 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.0001684/0.3598, allocations: 151.8 kB / 0.5548 GB, free: 7.273 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.642e-05/0.3599, allocations: 26.02 kB / 0.5548 GB, free: 7.258 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002534/0.3601, allocations: 130.9 kB / 0.5549 GB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.3601, allocations: 1.344 kB / 0.5549 GB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3601, allocations: 1.312 kB / 0.5549 GB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.3602, allocations: 9.328 kB / 0.5549 GB, free: 7.152 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006038/0.3608, allocations: 452.6 kB / 0.5554 GB, free: 6.758 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.3608, allocations: 3.938 kB / 0.5554 GB, free: 6.754 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001305/0.3609, allocations: 26.94 kB / 0.5554 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.3609, allocations: 5.188 kB / 0.5554 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.3609, allocations: 6.125 kB / 0.5554 GB, free: 6.738 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.3609, allocations: 1.156 kB / 0.5554 GB, free: 6.738 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.3609, allocations: 1.125 kB / 0.5554 GB, free: 6.738 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003614/0.3613, allocations: 281.5 kB / 0.5557 GB, free: 6.516 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.06e-05/0.3613, allocations: 19.45 kB / 0.5557 GB, free: 6.504 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.087e-05/0.3614, allocations: 16.81 kB / 0.5557 GB, free: 6.488 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.3615, allocations: 1.188 kB / 0.5557 GB, free: 6.488 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.233e-05/0.3615, allocations: 8.203 kB / 0.5557 GB, free: 6.484 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.3615, allocations: 7.188 kB / 0.5557 GB, free: 6.48 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001693/0.3617, allocations: 174.2 kB / 0.5559 GB, free: 6.355 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3617, allocations: 0 / 0.5559 GB, free: 6.355 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003304/0.362, allocations: 43.28 kB / 0.5559 GB, free: 6.352 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.0001072/0.3621, allocations: 96.31 kB / 0.556 GB, free: 6.262 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002345/0.3623, allocations: 116 kB / 0.5561 GB, free: 6.207 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3623, allocations: 1.219 kB / 0.5561 GB, free: 6.207 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.448e-05/0.3624, allocations: 39.45 kB / 0.5562 GB, free: 6.191 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004949/0.3629, allocations: 66.45 kB / 0.5562 GB, free: 6.156 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.364, allocations: 0.5877 MB / 0.5568 GB, free: 5.719 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004678/0.3645, allocations: 0.7782 MB / 0.5576 GB, free: 4.973 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.184e-05/0.3645, allocations: 20.97 kB / 0.5576 GB, free: 4.969 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3645, allocations: 0 / 0.5576 GB, free: 4.969 MB / 398.1 MB Notification: Performance of Templates: time 0.005631/0.3702, allocations: 2.979 MB / 0.5605 GB, free: 2.227 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] [Calling sys.exit(0), Time elapsed: 7.445284805027768] Failed to read output from testmodel.py, exit status != 0: 0.37898547388613224 0.394471067 0.038962008 Calling exit ...