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.00162/0.00162, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.00174/0.00174, allocations: 210.6 kB / 23.72 MB, free: 4.391 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.573/1.573, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.1883/0.1883, allocations: 38.55 MB / 352.5 MB, free: 12.29 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.002261/0.002261, allocations: 59.91 kB / 493 MB, free: 4.188 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3784/0.3806, allocations: 62.47 MB / 0.5424 GB, free: 424 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.006569/0.3872, allocations: 4.408 MB / 0.5467 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002824/0.39, allocations: 1.359 MB / 0.5481 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002611/0.3903, allocations: 21.47 kB / 0.5481 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00102/0.3913, allocations: 290.9 kB / 0.5484 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007232/0.392, allocations: 284 kB / 0.5486 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008327/0.3929, allocations: 254.8 kB / 0.5489 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009939/0.3939, allocations: 0.6616 MB / 0.5495 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004386/0.3943, allocations: 217.9 kB / 0.5497 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005549/0.3949, allocations: 306.3 kB / 0.55 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006625/0.3955, allocations: 428.8 kB / 0.5504 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.87e-05/0.3956, allocations: 45.31 kB / 0.5505 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005005/0.3961, allocations: 216.3 kB / 0.5507 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003071/0.3964, allocations: 263 kB / 0.5509 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003236/0.3967, allocations: 245.1 kB / 0.5512 GB, free: 10.03 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001157/0.3979, allocations: 0.7542 MB / 0.5519 GB, free: 9.543 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3979, allocations: 1.219 kB / 0.5519 GB, free: 9.543 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3979, allocations: 0 / 0.5519 GB, free: 9.543 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.268e-05/0.3979, allocations: 0 / 0.5519 GB, free: 9.543 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.002162/0.4001, allocations: 0.8274 MB / 0.5527 GB, free: 8.887 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.173e-05/0.4001, allocations: 17.23 kB / 0.5527 GB, free: 8.879 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008907/0.401, allocations: 131.2 kB / 0.5529 GB, free: 8.816 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009856/0.402, allocations: 374.8 kB / 0.5532 GB, free: 8.527 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.757e-05/0.4021, allocations: 29.11 kB / 0.5532 GB, free: 8.516 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/0.4022, allocations: 46.83 kB / 0.5533 GB, free: 8.496 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001668/0.4039, allocations: 0.9398 MB / 0.5542 GB, free: 7.93 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.571e-05/0.4039, allocations: 0 / 0.5542 GB, free: 7.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.726e-05/0.404, allocations: 17.83 kB / 0.5542 GB, free: 7.918 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001775/0.4041, allocations: 62.67 kB / 0.5543 GB, free: 7.895 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001403/0.4055, allocations: 0.8697 MB / 0.5551 GB, free: 7.074 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004341/0.4099, allocations: 2.467 MB / 0.5575 GB, free: 4.48 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009937/0.4109, allocations: 0.5541 MB / 0.5581 GB, free: 3.902 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006024/0.4115, allocations: 436.3 kB / 0.5585 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.52e-05/0.4115, allocations: 4 kB / 0.5585 GB, free: 3.461 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.655e-05/0.4116, allocations: 42.5 kB / 0.5585 GB, free: 3.41 MB / 398.1 MB Notification: Performance of pre-optimization done (n=56): time 2.776e-06/0.4116, allocations: 3.938 kB / 0.5585 GB, free: 3.406 MB / 398.1 MB Notification: Performance of matching and sorting (n=57): time 0.00368/0.4152, allocations: 2.005 MB / 0.5605 GB, free: 1.367 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001427/0.4154, allocations: 138.8 kB / 0.5606 GB, free: 1.207 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004216/0.4158, allocations: 304.4 kB / 0.5609 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.409e-05/0.4159, allocations: 29.7 kB / 0.5609 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002334/0.4161, allocations: 264.9 kB / 0.5612 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001926/0.4163, allocations: 202.2 kB / 0.5614 GB, free: 412 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001797/0.4165, allocations: 98.06 kB / 0.5615 GB, free: 308 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002889/0.4168, allocations: 358.7 kB / 0.5618 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006219/0.4174, allocations: 418.5 kB / 0.5622 GB, free: 15.53 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007518/0.4181, allocations: 0.5543 MB / 0.5628 GB, free: 14.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001394/0.4195, allocations: 1.015 MB / 0.5638 GB, free: 13.83 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.4195, allocations: 0 / 0.5638 GB, free: 13.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001772/0.4213, allocations: 1.08 MB / 0.5648 GB, free: 12.72 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.576e-05/0.4214, allocations: 69.66 kB / 0.5649 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/0.4214, allocations: 8 kB / 0.5649 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002407/0.4217, allocations: 40.77 kB / 0.5649 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000382/0.422, allocations: 92.3 kB / 0.565 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001493/0.4235, allocations: 1.429 MB / 0.5664 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004277/0.424, allocations: 31.97 kB / 0.5664 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-05/0.424, allocations: 28 kB / 0.5665 GB, free: 10.92 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.0005685/0.4246, allocations: 299.2 kB / 0.5668 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/0.4248, allocations: 43.72 kB / 0.5668 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001808/0.4266, allocations: 1.14 MB / 0.5679 GB, free: 9.402 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.393e-05/0.4266, allocations: 8 kB / 0.5679 GB, free: 9.395 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.4266, allocations: 7.938 kB / 0.5679 GB, free: 9.387 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.4266, allocations: 3.938 kB / 0.5679 GB, free: 9.383 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002987/0.4296, allocations: 1.691 MB / 0.5696 GB, free: 7.629 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.4296, allocations: 0 / 0.5696 GB, free: 7.629 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002869/0.4299, allocations: 55.89 kB / 0.5696 GB, free: 7.574 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001402/0.43, allocations: 44.77 kB / 0.5697 GB, free: 7.527 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.932e-05/0.4301, allocations: 20.06 kB / 0.5697 GB, free: 7.508 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001384/0.4315, allocations: 1.417 MB / 0.5711 GB, free: 5.992 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.161e-06/0.4315, allocations: 3.938 kB / 0.5711 GB, free: 5.988 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001785/0.4333, allocations: 1.23 MB / 0.5723 GB, free: 4.711 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003263/0.4336, allocations: 103.6 kB / 0.5724 GB, free: 4.609 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.386e-05/0.4337, allocations: 16 kB / 0.5724 GB, free: 4.594 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002725/0.4339, allocations: 32.03 kB / 0.5724 GB, free: 4.562 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/0.4341, allocations: 35.94 kB / 0.5725 GB, free: 4.527 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.405e-05/0.4341, allocations: 23.98 kB / 0.5725 GB, free: 4.504 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002246/0.4344, allocations: 203.1 kB / 0.5727 GB, free: 4.305 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4344, allocations: 0 / 0.5727 GB, free: 4.305 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006587/0.435, allocations: 147.9 kB / 0.5728 GB, free: 4.16 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.000276/0.4353, allocations: 135.1 kB / 0.5729 GB, free: 4.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001844/0.4371, allocations: 1.276 MB / 0.5742 GB, free: 2.711 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4371, allocations: 0 / 0.5742 GB, free: 2.711 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009788/0.4381, allocations: 0.7393 MB / 0.5749 GB, free: 1.941 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000587/0.4387, allocations: 93.78 kB / 0.575 GB, free: 1.855 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002337/0.441, allocations: 1.481 MB / 0.5765 GB, free: 336 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003473/0.4414, allocations: 302.5 kB / 0.5767 GB, free: 12 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003033/0.4417, allocations: 111.2 kB / 0.5768 GB, free: 15.9 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.612e-05/0.4418, allocations: 27.44 kB / 0.5769 GB, free: 15.88 MB / 430.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4418, allocations: 4 kB / 0.5769 GB, free: 15.87 MB / 430.1 MB Notification: Performance of Templates: time 0.01308/0.4549, allocations: 6.754 MB / 0.5835 GB, free: 9.172 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: 5.579688740894198] Failed to read output from testmodel.py, exit status != 0: 0.4647913295775652 0.478597769 0.077522344 Calling exit ...