Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.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.001545/0.001545, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.00165/0.00165, allocations: 209 kB / 24.48 MB, free: 3.938 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.56/1.56, allocations: 230.6 MB / 258.2 MB, free: 7.812 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.2987/0.2987, allocations: 38.54 MB / 353.2 MB, free: 12.32 MB / 286.1 MB " [Timeout remaining time 179] 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.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=740,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=740,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.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.002167/0.002167, allocations: 63.89 kB / 493.7 MB, free: 4.203 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3452, allocations: 62.46 MB / 0.5432 GB, free: 436 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.0063/0.3515, allocations: 3.996 MB / 0.5471 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001776/0.3533, allocations: 0.862 MB / 0.5479 GB, free: 12.7 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002557/0.3536, allocations: 19.31 kB / 0.5479 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002404/0.3538, allocations: 51.88 kB / 0.548 GB, free: 12.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006502/0.3545, allocations: 181.6 kB / 0.5481 GB, free: 12.49 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002788/0.3547, allocations: 95.72 kB / 0.5482 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005797/0.3553, allocations: 403.6 kB / 0.5486 GB, free: 12.19 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002293/0.3555, allocations: 70.77 kB / 0.5487 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004749/0.356, allocations: 197.7 kB / 0.5489 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004264/0.3564, allocations: 204.5 kB / 0.5491 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.389e-05/0.3565, allocations: 20.84 kB / 0.5491 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.98e-05/0.3566, allocations: 21.53 kB / 0.5491 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001519/0.3568, allocations: 106.7 kB / 0.5492 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001944/0.3569, allocations: 131.1 kB / 0.5493 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004299/0.3574, allocations: 316.5 kB / 0.5496 GB, free: 11.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.3574, allocations: 4 kB / 0.5496 GB, free: 11.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3574, allocations: 5.031 kB / 0.5497 GB, free: 11.56 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.024e-05/0.3574, allocations: 0 / 0.5497 GB, free: 11.56 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001241/0.3586, allocations: 0.5525 MB / 0.5502 GB, free: 11.1 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.3587, allocations: 16.67 kB / 0.5502 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.642e-05/0.3588, allocations: 33.75 kB / 0.5502 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005526/0.3593, allocations: 279.7 kB / 0.5505 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.3593, allocations: 20.91 kB / 0.5505 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.452e-05/0.3594, allocations: 27.53 kB / 0.5506 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005037/0.3599, allocations: 318.7 kB / 0.5509 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.3599, allocations: 1.125 kB / 0.5509 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.854e-05/0.3599, allocations: 10.14 kB / 0.5509 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.3599, allocations: 6.594 kB / 0.5509 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003649/0.3603, allocations: 214.6 kB / 0.5511 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001642/0.3619, allocations: 1.22 MB / 0.5523 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003439/0.3623, allocations: 140.3 kB / 0.5524 GB, free: 9.285 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.3624, allocations: 56.66 kB / 0.5525 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.3624, allocations: 3.094 kB / 0.5525 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.3624, allocations: 39.97 kB / 0.5525 GB, free: 9.199 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.814e-06/0.3624, allocations: 4 kB / 0.5525 GB, free: 9.195 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007911/0.3632, allocations: 365.3 kB / 0.5528 GB, free: 8.977 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.877e-05/0.3633, allocations: 79.23 kB / 0.5529 GB, free: 8.883 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002787/0.3636, allocations: 270.1 kB / 0.5532 GB, free: 8.691 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.148e-05/0.3636, allocations: 25.7 kB / 0.5532 GB, free: 8.66 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.3638, allocations: 210.1 kB / 0.5534 GB, free: 8.469 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.968e-05/0.3638, allocations: 49.64 kB / 0.5535 GB, free: 8.426 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.531e-05/0.3639, allocations: 45.88 kB / 0.5535 GB, free: 8.391 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.3641, allocations: 340.4 kB / 0.5538 GB, free: 8.055 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.605e-05/0.3642, allocations: 53.44 kB / 0.5539 GB, free: 8.031 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001783/0.3643, allocations: 153.1 kB / 0.554 GB, free: 7.875 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003074/0.3647, allocations: 235.6 kB / 0.5542 GB, free: 7.672 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3647, allocations: 1.188 kB / 0.5542 GB, free: 7.672 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003843/0.365, allocations: 246 kB / 0.5545 GB, free: 7.535 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.3651, allocations: 7.438 kB / 0.5545 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.3651, allocations: 3.438 kB / 0.5545 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.3651, allocations: 4.688 kB / 0.5545 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001888/0.3653, allocations: 52.28 kB / 0.5545 GB, free: 7.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.3653, allocations: 4.312 kB / 0.5545 GB, free: 7.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000135/0.3654, allocations: 13.28 kB / 0.5546 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.824e-05/0.3654, allocations: 8.656 kB / 0.5546 GB, free: 7.512 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 (25): * Single equations (assignments): 25 * 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.0001882/0.3656, allocations: 166.8 kB / 0.5547 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.13e-05/0.3657, allocations: 26.62 kB / 0.5548 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003376/0.366, allocations: 203.9 kB / 0.5549 GB, free: 7.211 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.366, allocations: 6.531 kB / 0.555 GB, free: 7.207 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.366, allocations: 1.031 kB / 0.555 GB, free: 7.207 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.366, allocations: 0 / 0.555 GB, free: 7.207 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006716/0.3667, allocations: 480.2 kB / 0.5554 GB, free: 6.832 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.3667, allocations: 1.125 kB / 0.5554 GB, free: 6.832 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000141/0.3668, allocations: 34.19 kB / 0.5554 GB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.3668, allocations: 1.25 kB / 0.5554 GB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.3669, allocations: 2 kB / 0.5555 GB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.3669, allocations: 6.156 kB / 0.5555 GB, free: 6.816 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.3669, allocations: 8.016 kB / 0.5555 GB, free: 6.809 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003843/0.3672, allocations: 302.7 kB / 0.5558 GB, free: 6.578 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.768e-05/0.3673, allocations: 27.08 kB / 0.5558 GB, free: 6.559 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.467e-05/0.3673, allocations: 2.438 kB / 0.5558 GB, free: 6.559 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.3675, allocations: 5.281 kB / 0.5558 GB, free: 6.555 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.679e-05/0.3675, allocations: 17.16 kB / 0.5558 GB, free: 6.543 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.3675, allocations: 3.281 kB / 0.5558 GB, free: 6.543 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001841/0.3677, allocations: 185.3 kB / 0.556 GB, free: 6.414 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3677, allocations: 3.938 kB / 0.556 GB, free: 6.41 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003391/0.368, allocations: 48.91 kB / 0.556 GB, free: 6.406 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (17): * Single equations (assignments): 16 * 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 9.93e-05/0.3681, allocations: 100 kB / 0.5561 GB, free: 6.312 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000306/0.3684, allocations: 152 kB / 0.5563 GB, free: 6.246 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3684, allocations: 0 / 0.5563 GB, free: 6.246 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.3686, allocations: 70.77 kB / 0.5563 GB, free: 6.215 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004791/0.369, allocations: 65.44 kB / 0.5564 GB, free: 6.18 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009436/0.37, allocations: 0.5696 MB / 0.557 GB, free: 5.605 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001983/0.3702, allocations: 174.1 kB / 0.5571 GB, free: 5.414 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.339e-05/0.3702, allocations: 27.42 kB / 0.5572 GB, free: 5.387 MB / 398.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3702, allocations: 0 / 0.5572 GB, free: 5.387 MB / 398.1 MB Notification: Performance of Templates: time 0.00587/0.3761, allocations: 3.337 MB / 0.5604 GB, free: 2.062 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.018640344962478] Failed to read output from testmodel.py, exit status != 0: 0.3849246217869222 0.39989644100000005 0.039268517 Calling exit ...