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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 109.5 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001699/0.001699, allocations: 189.2 kB / 23.72 MB, free: 4.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 225.6 MB / 252.5 MB, free: 13.01 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.1867/0.1867, allocations: 38.53 MB / 346.3 MB, free: 2.09 MB / 270.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.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.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 0.002026/0.002026, allocations: 63.89 kB / 484.5 MB, free: 11.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4109/0.4129, allocations: 61.29 MB / 0.533 GB, free: 5.574 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.005764/0.4187, allocations: 4.733 MB / 0.5377 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002538/0.4212, allocations: 1.49 MB / 0.5391 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002289/0.4214, allocations: 21.44 kB / 0.5391 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001011/0.4225, allocations: 390.4 kB / 0.5395 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005283/0.423, allocations: 238.8 kB / 0.5397 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007405/0.4237, allocations: 257.5 kB / 0.54 GB, free: 316 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006151/0.4243, allocations: 0.5528 MB / 0.5405 GB, free: 4 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004881/0.4248, allocations: 217.1 kB / 0.5407 GB, free: 15.88 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000434/0.4253, allocations: 265.8 kB / 0.541 GB, free: 15.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005479/0.4258, allocations: 344.4 kB / 0.5413 GB, free: 15.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.383e-05/0.4259, allocations: 34.06 kB / 0.5413 GB, free: 15.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004032/0.4263, allocations: 153.1 kB / 0.5415 GB, free: 15.46 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003077/0.4266, allocations: 229.7 kB / 0.5417 GB, free: 15.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000311/0.4269, allocations: 254.4 kB / 0.5419 GB, free: 15.15 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008681/0.4278, allocations: 0.5968 MB / 0.5425 GB, free: 14.76 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.4278, allocations: 0 / 0.5425 GB, free: 14.76 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4278, allocations: 1 kB / 0.5425 GB, free: 14.76 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.4278, allocations: 0 / 0.5425 GB, free: 14.76 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001626/0.4294, allocations: 0.708 MB / 0.5432 GB, free: 14.19 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.937e-05/0.4295, allocations: 9.312 kB / 0.5432 GB, free: 14.19 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000783/0.4302, allocations: 95.78 kB / 0.5433 GB, free: 14.14 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007784/0.431, allocations: 350.5 kB / 0.5436 GB, free: 13.87 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.282e-05/0.4311, allocations: 34.19 kB / 0.5437 GB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002392/0.4313, allocations: 60.19 kB / 0.5437 GB, free: 13.83 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/0.4324, allocations: 0.6446 MB / 0.5444 GB, free: 13.36 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.763e-05/0.4324, allocations: 10.17 kB / 0.5444 GB, free: 13.35 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.443e-05/0.4325, allocations: 16.62 kB / 0.5444 GB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001339/0.4326, allocations: 41.44 kB / 0.5444 GB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008617/0.4334, allocations: 480.9 kB / 0.5449 GB, free: 13.1 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003996/0.4374, allocations: 2.952 MB / 0.5478 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003489/0.4378, allocations: 172 kB / 0.5479 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001808/0.438, allocations: 97.55 kB / 0.548 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.061e-05/0.438, allocations: 3.781 kB / 0.548 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.441e-05/0.4381, allocations: 35.72 kB / 0.5481 GB, free: 10.29 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 1.563e-06/0.4381, allocations: 1.125 kB / 0.5481 GB, free: 10.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=21): time 0.001856/0.4399, allocations: 0.7813 MB / 0.5488 GB, free: 9.766 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.192e-05/0.44, allocations: 79.58 kB / 0.5489 GB, free: 9.672 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006006/0.4406, allocations: 348.9 kB / 0.5492 GB, free: 9.449 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.146e-05/0.4406, allocations: 30.77 kB / 0.5493 GB, free: 9.414 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000359/0.441, allocations: 314.7 kB / 0.5496 GB, free: 9.133 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.969e-05/0.4411, allocations: 78.06 kB / 0.5496 GB, free: 9.066 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000193/0.4413, allocations: 89.91 kB / 0.5497 GB, free: 9.008 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002264/0.4415, allocations: 344 kB / 0.5501 GB, free: 8.672 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002556/0.4418, allocations: 128.4 kB / 0.5502 GB, free: 8.609 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004793/0.4423, allocations: 330.7 kB / 0.5505 GB, free: 8.277 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007037/0.443, allocations: 0.4993 MB / 0.551 GB, free: 7.848 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.443, allocations: 5.031 kB / 0.551 GB, free: 7.844 MB / 398.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.00113/0.4441, allocations: 0.5486 MB / 0.5515 GB, free: 7.551 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.4441, allocations: 10.25 kB / 0.5515 GB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006087/0.4447, allocations: 278.2 kB / 0.5518 GB, free: 7.414 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003847/0.4451, allocations: 85.09 kB / 0.5519 GB, free: 7.371 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003838/0.4455, allocations: 96.17 kB / 0.552 GB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002169/0.4477, allocations: 1.634 MB / 0.5536 GB, free: 5.828 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003447/0.448, allocations: 22.58 kB / 0.5536 GB, free: 5.816 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.392e-05/0.4481, allocations: 21.97 kB / 0.5536 GB, free: 5.812 MB / 398.1 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.0004103/0.4485, allocations: 219.8 kB / 0.5538 GB, free: 5.633 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.505e-05/0.4485, allocations: 34.59 kB / 0.5539 GB, free: 5.613 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005862/0.4491, allocations: 293.8 kB / 0.5541 GB, free: 5.438 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.4491, allocations: 6.953 kB / 0.5541 GB, free: 5.434 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.4491, allocations: 1.5 kB / 0.5541 GB, free: 5.434 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.4491, allocations: 0 / 0.5541 GB, free: 5.434 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001392/0.4505, allocations: 0.7634 MB / 0.5549 GB, free: 4.875 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.4505, allocations: 1.094 kB / 0.5549 GB, free: 4.875 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002912/0.4508, allocations: 54.31 kB / 0.5549 GB, free: 4.863 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.4508, allocations: 2.688 kB / 0.5549 GB, free: 4.863 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.427e-05/0.4509, allocations: 6.312 kB / 0.555 GB, free: 4.859 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.4509, allocations: 2.281 kB / 0.555 GB, free: 4.859 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.4509, allocations: 9.094 kB / 0.555 GB, free: 4.852 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006525/0.4515, allocations: 474.8 kB / 0.5554 GB, free: 4.441 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.922e-05/0.4516, allocations: 31.77 kB / 0.5554 GB, free: 4.41 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.274e-05/0.4516, allocations: 12.03 kB / 0.5555 GB, free: 4.398 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/0.4518, allocations: 7.938 kB / 0.5555 GB, free: 4.391 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.533e-05/0.4518, allocations: 19.97 kB / 0.5555 GB, free: 4.371 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.4519, allocations: 4 kB / 0.5555 GB, free: 4.367 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002584/0.4521, allocations: 247.1 kB / 0.5557 GB, free: 4.129 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4521, allocations: 0 / 0.5557 GB, free: 4.129 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006218/0.4527, allocations: 96 kB / 0.5558 GB, free: 4.035 MB / 398.1 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.0001226/0.4529, allocations: 95.25 kB / 0.5559 GB, free: 3.934 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008364/0.4537, allocations: 434.8 kB / 0.5563 GB, free: 3.5 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.4537, allocations: 4 kB / 0.5563 GB, free: 3.496 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001761/0.4539, allocations: 107.8 kB / 0.5564 GB, free: 3.391 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005252/0.4544, allocations: 71.91 kB / 0.5565 GB, free: 3.328 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/0.4561, allocations: 1.005 MB / 0.5575 GB, free: 2.289 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005917/0.4567, allocations: 0.8662 MB / 0.5583 GB, free: 1.395 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002915/0.457, allocations: 111.2 kB / 0.5584 GB, free: 1.281 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.4571, allocations: 31.44 kB / 0.5585 GB, free: 1.25 MB / 398.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4571, allocations: 4 kB / 0.5585 GB, free: 1.246 MB / 398.1 MB Notification: Performance of Templates: time 0.009456/0.4666, allocations: 3.944 MB / 0.5623 GB, free: 13.32 MB / 414.1 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.351241432130337] Failed to read output from testmodel.py, exit status != 0: 0.47565326653420925 0.48942790399999997 0.05875002000000001 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fe7928517b0>