Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.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.001618/0.001618, 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.002009/0.002009, allocations: 209.8 kB / 24.49 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.422/1.422, allocations: 230.6 MB / 258.3 MB, free: 8.246 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.1904/0.1904, allocations: 38.52 MB / 353.2 MB, free: 12.6 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.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor") translateModel(PowerSystems.Examples.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor") [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.002199/0.002199, allocations: 63.89 kB / 493.8 MB, free: 4.418 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3176, allocations: 62.46 MB / 0.5432 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.006802/0.3244, allocations: 4.678 MB / 0.5478 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002972/0.3274, allocations: 1.455 MB / 0.5492 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003108/0.3277, allocations: 24.78 kB / 0.5492 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009908/0.3287, allocations: 314.6 kB / 0.5495 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007664/0.3295, allocations: 276 kB / 0.5498 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007972/0.3303, allocations: 265.1 kB / 0.5501 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009968/0.3313, allocations: 0.6562 MB / 0.5507 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004407/0.3317, allocations: 219.7 kB / 0.5509 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000571/0.3323, allocations: 310.8 kB / 0.5512 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006735/0.3329, allocations: 441.7 kB / 0.5516 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.899e-05/0.333, allocations: 47.94 kB / 0.5517 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005493/0.3336, allocations: 241.5 kB / 0.5519 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002767/0.3339, allocations: 250.9 kB / 0.5521 GB, free: 9.949 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000347/0.3342, allocations: 292 kB / 0.5524 GB, free: 9.754 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001008/0.3352, allocations: 0.7523 MB / 0.5531 GB, free: 9.262 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3352, allocations: 1.438 kB / 0.5532 GB, free: 9.262 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3352, allocations: 0 / 0.5532 GB, free: 9.262 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.21e-05/0.3352, allocations: 0 / 0.5532 GB, free: 9.262 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.001716/0.337, allocations: 0.8271 MB / 0.554 GB, free: 8.605 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/0.337, allocations: 13.89 kB / 0.554 GB, free: 8.602 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007492/0.3378, allocations: 126.5 kB / 0.5541 GB, free: 8.543 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008083/0.3386, allocations: 381.5 kB / 0.5545 GB, free: 8.246 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.409e-05/0.3386, allocations: 25.22 kB / 0.5545 GB, free: 8.238 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.3387, allocations: 46.83 kB / 0.5545 GB, free: 8.219 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00141/0.3401, allocations: 0.8627 MB / 0.5554 GB, free: 7.699 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.493e-05/0.3401, allocations: 5.031 kB / 0.5554 GB, free: 7.695 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.28e-05/0.3402, allocations: 17.59 kB / 0.5554 GB, free: 7.684 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001614/0.3404, allocations: 62.86 kB / 0.5554 GB, free: 7.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001276/0.3416, allocations: 0.8001 MB / 0.5562 GB, free: 7.047 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004213/0.3458, allocations: 2.638 MB / 0.5588 GB, free: 4.27 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008949/0.3467, allocations: 497.6 kB / 0.5593 GB, free: 3.766 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005069/0.3473, allocations: 366.5 kB / 0.5596 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.791e-05/0.3473, allocations: 7.984 kB / 0.5596 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/0.3473, allocations: 42.55 kB / 0.5597 GB, free: 3.344 MB / 398.1 MB Notification: Performance of pre-optimization done (n=56): time 2.565e-06/0.3473, allocations: 3.938 kB / 0.5597 GB, free: 3.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=57): time 0.003186/0.3505, allocations: 1.81 MB / 0.5614 GB, free: 1.508 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/0.3506, allocations: 142.8 kB / 0.5616 GB, free: 1.344 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000345/0.351, allocations: 292.5 kB / 0.5619 GB, free: 1.047 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.647e-05/0.351, allocations: 33.7 kB / 0.5619 GB, free: 1.008 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002006/0.3512, allocations: 265 kB / 0.5621 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001877/0.3514, allocations: 198.3 kB / 0.5623 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000175/0.3516, allocations: 106.1 kB / 0.5624 GB, free: 452 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.3518, allocations: 350.7 kB / 0.5628 GB, free: 92 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005073/0.3523, allocations: 340.9 kB / 0.5631 GB, free: 15.76 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006156/0.3529, allocations: 485.8 kB / 0.5636 GB, free: 15.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001266/0.3542, allocations: 0.9798 MB / 0.5645 GB, free: 14.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.3542, allocations: 4 kB / 0.5645 GB, free: 14.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001555/0.3557, allocations: 0.985 MB / 0.5655 GB, free: 13.17 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001044/0.3558, allocations: 78.16 kB / 0.5656 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/0.3558, allocations: 8 kB / 0.5656 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001971/0.356, allocations: 36.83 kB / 0.5656 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003637/0.3564, allocations: 87.89 kB / 0.5657 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001469/0.3579, allocations: 1.455 MB / 0.5671 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003655/0.3582, allocations: 27.97 kB / 0.5671 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.694e-05/0.3583, allocations: 27.98 kB / 0.5672 GB, free: 11.33 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (voltage.h_mod3[3],voltage.h_mod3[2],voltage.h_mod3[1],system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 1 * 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.0004438/0.3588, allocations: 307.2 kB / 0.5675 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.3589, allocations: 47.78 kB / 0.5675 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001679/0.3606, allocations: 1.075 MB / 0.5685 GB, free: 9.875 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-05/0.3606, allocations: 19.98 kB / 0.5686 GB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.3606, allocations: 0 / 0.5686 GB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.3606, allocations: 0 / 0.5686 GB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002759/0.3633, allocations: 1.778 MB / 0.5703 GB, free: 8.008 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.3634, allocations: 0 / 0.5703 GB, free: 8.008 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002739/0.3636, allocations: 51.95 kB / 0.5704 GB, free: 7.957 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001242/0.3638, allocations: 40.78 kB / 0.5704 GB, free: 7.914 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.523e-05/0.3638, allocations: 11.98 kB / 0.5704 GB, free: 7.902 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001384/0.3652, allocations: 1.448 MB / 0.5718 GB, free: 6.344 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.3652, allocations: 32 / 0.5718 GB, free: 6.344 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00166/0.3668, allocations: 1.182 MB / 0.573 GB, free: 5.121 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002827/0.3671, allocations: 95.7 kB / 0.5731 GB, free: 5.027 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.342e-05/0.3672, allocations: 15.98 kB / 0.5731 GB, free: 5.012 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002638/0.3675, allocations: 23.97 kB / 0.5731 GB, free: 4.988 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/0.3676, allocations: 51.81 kB / 0.5732 GB, free: 4.938 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-05/0.3677, allocations: 23.98 kB / 0.5732 GB, free: 4.914 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002158/0.3679, allocations: 199.1 kB / 0.5734 GB, free: 4.719 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3679, allocations: 0 / 0.5734 GB, free: 4.719 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006242/0.3685, allocations: 147.9 kB / 0.5735 GB, free: 4.574 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (system.initime,voltage.h_mod3[1],voltage.h_mod3[2],voltage.h_mod3[3]) * Number of discrete states: 3 (voltage.h_mod3[3],voltage.h_mod3[2],voltage.h_mod3[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 25 * Array equations: 2 * Algorithm blocks: 1 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002713/0.3688, allocations: 135.1 kB / 0.5736 GB, free: 4.434 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001701/0.3705, allocations: 1.147 MB / 0.5748 GB, free: 3.266 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3705, allocations: 0 / 0.5748 GB, free: 3.266 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009345/0.3714, allocations: 0.6947 MB / 0.5754 GB, free: 2.547 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005759/0.372, allocations: 75.8 kB / 0.5755 GB, free: 2.477 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002357/0.3743, allocations: 1.458 MB / 0.5769 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005984/0.3749, allocations: 0.8976 MB / 0.5778 GB, free: 52 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.3751, allocations: 39.38 kB / 0.5778 GB, free: 12 kB / 414.1 MB Notification: Performance of SimCode: time 7.42e-07/0.3751, allocations: 0 / 0.5778 GB, free: 12 kB / 414.1 MB Notification: Performance of Templates: time 0.01316/0.3882, allocations: 8.597 MB / 0.5862 GB, free: 7.418 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.212186144897714] Failed to read output from testmodel.py, exit status != 0: 0.3981625430751592 0.41343374400000005 0.07476162600000001 Calling exit ...