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.001459/0.001459, 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.001501/0.001501, allocations: 210 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.524/1.524, allocations: 230.6 MB / 258.2 MB, free: 7.785 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.1905/0.1905, allocations: 38.55 MB / 353.2 MB, free: 12.3 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.002131/0.002131, allocations: 67.91 kB / 493.7 MB, free: 4.188 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3546/0.3567, allocations: 62.47 MB / 0.5432 GB, free: 424 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.006552/0.3633, allocations: 4.413 MB / 0.5475 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002778/0.3661, allocations: 1.352 MB / 0.5488 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002291/0.3663, allocations: 20.59 kB / 0.5488 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009348/0.3672, allocations: 291.9 kB / 0.5491 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006566/0.3679, allocations: 283.3 kB / 0.5494 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007389/0.3686, allocations: 258.1 kB / 0.5496 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008026/0.3694, allocations: 0.6592 MB / 0.5503 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003954/0.3698, allocations: 216.1 kB / 0.5505 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005171/0.3703, allocations: 317.6 kB / 0.5508 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000621/0.371, allocations: 430.1 kB / 0.5512 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.665e-05/0.371, allocations: 48.59 kB / 0.5512 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004619/0.3715, allocations: 220.8 kB / 0.5514 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002779/0.3718, allocations: 247.3 kB / 0.5517 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003089/0.3721, allocations: 240 kB / 0.5519 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009766/0.3731, allocations: 0.7621 MB / 0.5526 GB, free: 9.539 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3731, allocations: 5.062 kB / 0.5526 GB, free: 9.535 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3731, allocations: 0 / 0.5526 GB, free: 9.535 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.3731, allocations: 0 / 0.5526 GB, free: 9.535 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.001682/0.3748, allocations: 0.824 MB / 0.5534 GB, free: 8.883 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.3748, allocations: 12.95 kB / 0.5535 GB, free: 8.879 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007403/0.3756, allocations: 127.8 kB / 0.5536 GB, free: 8.82 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000795/0.3764, allocations: 377.9 kB / 0.5539 GB, free: 8.527 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.974e-05/0.3764, allocations: 37.62 kB / 0.554 GB, free: 8.508 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.675e-05/0.3765, allocations: 43.3 kB / 0.554 GB, free: 8.492 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001412/0.3779, allocations: 0.9338 MB / 0.5549 GB, free: 7.93 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/0.3779, allocations: 1.344 kB / 0.5549 GB, free: 7.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.179e-05/0.378, allocations: 22.55 kB / 0.555 GB, free: 7.914 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001445/0.3781, allocations: 58.14 kB / 0.555 GB, free: 7.895 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00128/0.3794, allocations: 0.8738 MB / 0.5559 GB, free: 7.086 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003754/0.3832, allocations: 2.459 MB / 0.5583 GB, free: 4.5 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000895/0.3841, allocations: 0.5541 MB / 0.5588 GB, free: 3.922 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000541/0.3846, allocations: 436.3 kB / 0.5592 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.847e-05/0.3846, allocations: 8 kB / 0.5592 GB, free: 3.477 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.259e-05/0.3847, allocations: 42.44 kB / 0.5593 GB, free: 3.426 MB / 398.1 MB Notification: Performance of pre-optimization done (n=56): time 3.186e-06/0.3847, allocations: 0 / 0.5593 GB, free: 3.426 MB / 398.1 MB Notification: Performance of matching and sorting (n=57): time 0.00326/0.3879, allocations: 2.009 MB / 0.5612 GB, free: 1.383 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/0.3881, allocations: 142.9 kB / 0.5614 GB, free: 1.219 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003381/0.3884, allocations: 304.3 kB / 0.5617 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.961e-05/0.3884, allocations: 29.7 kB / 0.5617 GB, free: 0.875 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001855/0.3886, allocations: 264.9 kB / 0.5619 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001776/0.3888, allocations: 202.2 kB / 0.5621 GB, free: 424 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001624/0.389, allocations: 98.06 kB / 0.5622 GB, free: 320 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.3891, allocations: 358.7 kB / 0.5626 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005273/0.3897, allocations: 418.6 kB / 0.563 GB, free: 15.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006521/0.3903, allocations: 0.5443 MB / 0.5635 GB, free: 14.94 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001241/0.3916, allocations: 1.023 MB / 0.5645 GB, free: 13.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3916, allocations: 3.938 kB / 0.5645 GB, free: 13.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001569/0.3931, allocations: 1.077 MB / 0.5656 GB, free: 12.74 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.894e-05/0.3932, allocations: 73.66 kB / 0.5656 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/0.3932, allocations: 4 kB / 0.5656 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002042/0.3934, allocations: 48.72 kB / 0.5657 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003563/0.3938, allocations: 87.81 kB / 0.5658 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001372/0.3952, allocations: 1.425 MB / 0.5671 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003431/0.3955, allocations: 27.97 kB / 0.5672 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.597e-05/0.3956, allocations: 27.98 kB / 0.5672 GB, free: 10.94 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.0004268/0.396, allocations: 307.2 kB / 0.5675 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/0.3961, allocations: 47.7 kB / 0.5675 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001659/0.3978, allocations: 1.132 MB / 0.5686 GB, free: 9.418 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.407e-05/0.3978, allocations: 12 kB / 0.5687 GB, free: 9.406 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.3978, allocations: 8 kB / 0.5687 GB, free: 9.398 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.3978, allocations: 7.984 kB / 0.5687 GB, free: 9.391 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002684/0.4005, allocations: 1.687 MB / 0.5703 GB, free: 7.641 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.4005, allocations: 0 / 0.5703 GB, free: 7.641 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002599/0.4008, allocations: 51.91 kB / 0.5704 GB, free: 7.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001238/0.4009, allocations: 44.95 kB / 0.5704 GB, free: 7.543 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.764e-05/0.401, allocations: 19.97 kB / 0.5704 GB, free: 7.523 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001268/0.4022, allocations: 1.417 MB / 0.5718 GB, free: 6.008 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.4022, allocations: 3.938 kB / 0.5718 GB, free: 6.004 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001664/0.4039, allocations: 1.23 MB / 0.573 GB, free: 4.727 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000302/0.4042, allocations: 103.6 kB / 0.5731 GB, free: 4.625 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.059e-05/0.4043, allocations: 15.98 kB / 0.5731 GB, free: 4.609 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002646/0.4045, allocations: 27.97 kB / 0.5732 GB, free: 4.582 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/0.4047, allocations: 47.81 kB / 0.5732 GB, free: 4.535 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.321e-05/0.4047, allocations: 19.98 kB / 0.5732 GB, free: 4.516 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002213/0.4049, allocations: 203.1 kB / 0.5734 GB, free: 4.316 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4049, allocations: 0 / 0.5734 GB, free: 4.316 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006374/0.4056, allocations: 144 kB / 0.5736 GB, free: 4.176 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.0002941/0.4059, allocations: 139.3 kB / 0.5737 GB, free: 4.031 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001749/0.4076, allocations: 1.28 MB / 0.5749 GB, free: 2.719 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.4076, allocations: 4 kB / 0.5749 GB, free: 2.715 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009174/0.4085, allocations: 0.7303 MB / 0.5757 GB, free: 1.953 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005595/0.4091, allocations: 76.39 kB / 0.5757 GB, free: 1.883 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00239/0.4115, allocations: 1.553 MB / 0.5772 GB, free: 288 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.4118, allocations: 302.5 kB / 0.5775 GB, free: 15.96 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.412, allocations: 31.44 kB / 0.5776 GB, free: 15.93 MB / 430.1 MB Notification: Performance of SimCode: time 7.11e-07/0.412, allocations: 0 / 0.5776 GB, free: 15.93 MB / 430.1 MB Notification: Performance of Templates: time 0.01391/0.4259, allocations: 8.785 MB / 0.5861 GB, free: 7.152 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.465707576833665] Failed to read output from testmodel.py, exit status != 0: 0.4349414757452905 0.45111957700000005 0.074627845 Calling exit ...