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.001405/0.001405, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001593/0.001593, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.473/1.473, allocations: 230.6 MB / 258.3 MB, free: 7.777 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.1866/0.1866, 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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Sensor,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Sensor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Sensor,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Sensor",fmuType="cs",version="2.0",platforms={"static"}) [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.002096/0.002096, allocations: 66.39 kB / 493.3 MB, free: 4.699 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3365, allocations: 62.47 MB / 0.5427 GB, free: 252 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.006203/0.3427, allocations: 4.408 MB / 0.547 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002523/0.3453, allocations: 1.345 MB / 0.5483 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001808/0.3454, allocations: 21.47 kB / 0.5483 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008755/0.3463, allocations: 295.3 kB / 0.5486 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005835/0.3469, allocations: 275.3 kB / 0.5489 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007419/0.3476, allocations: 262.2 kB / 0.5491 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007398/0.3484, allocations: 0.6589 MB / 0.5498 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003901/0.3488, allocations: 217.1 kB / 0.55 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005019/0.3493, allocations: 319 kB / 0.5503 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006075/0.3499, allocations: 441.8 kB / 0.5507 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.169e-05/0.35, allocations: 44.72 kB / 0.5508 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004848/0.3505, allocations: 220.3 kB / 0.551 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002704/0.3507, allocations: 253.7 kB / 0.5512 GB, free: 9.992 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003252/0.3511, allocations: 245.7 kB / 0.5514 GB, free: 9.844 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001007/0.3521, allocations: 0.7619 MB / 0.5522 GB, free: 9.348 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.3521, allocations: 0.875 kB / 0.5522 GB, free: 9.348 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3521, allocations: 0 / 0.5522 GB, free: 9.348 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.64e-05/0.3521, allocations: 3.938 kB / 0.5522 GB, free: 9.344 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.001677/0.3538, allocations: 0.8246 MB / 0.553 GB, free: 8.691 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.3538, allocations: 12.67 kB / 0.553 GB, free: 8.688 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.341e-05/0.3538, allocations: 11.91 kB / 0.553 GB, free: 8.684 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001301/0.354, allocations: 99.83 kB / 0.5531 GB, free: 8.598 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007325/0.3547, allocations: 127.7 kB / 0.5532 GB, free: 8.539 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006984/0.3554, allocations: 374.5 kB / 0.5536 GB, free: 8.254 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.718e-05/0.3554, allocations: 36.83 kB / 0.5536 GB, free: 8.234 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-05/0.3555, allocations: 39.28 kB / 0.5537 GB, free: 8.223 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001456/0.357, allocations: 0.9383 MB / 0.5546 GB, free: 7.648 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/0.357, allocations: 1.156 kB / 0.5546 GB, free: 7.648 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.42e-05/0.3571, allocations: 18.08 kB / 0.5546 GB, free: 7.637 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001662/0.3572, allocations: 67.17 kB / 0.5547 GB, free: 7.613 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001496/0.3587, allocations: 0.8728 MB / 0.5555 GB, free: 7.004 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004177/0.3629, allocations: 2.529 MB / 0.558 GB, free: 4.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/0.3639, allocations: 0.5618 MB / 0.5585 GB, free: 3.754 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006687/0.3646, allocations: 436.2 kB / 0.559 GB, free: 3.316 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.585e-05/0.3647, allocations: 4 kB / 0.559 GB, free: 3.312 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.409e-05/0.3647, allocations: 46.55 kB / 0.559 GB, free: 3.258 MB / 398.1 MB Notification: Performance of pre-optimization done (n=56): time 3.536e-06/0.3647, allocations: 0 / 0.559 GB, free: 3.258 MB / 398.1 MB Notification: Performance of matching and sorting (n=57): time 0.003378/0.3681, allocations: 1.997 MB / 0.561 GB, free: 1.227 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.3682, allocations: 142.8 kB / 0.5611 GB, free: 1.062 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003676/0.3686, allocations: 304.4 kB / 0.5614 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.346e-05/0.3686, allocations: 29.7 kB / 0.5614 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000185/0.3688, allocations: 264.9 kB / 0.5617 GB, free: 468 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001716/0.369, allocations: 198.3 kB / 0.5619 GB, free: 268 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001773/0.3691, allocations: 98.25 kB / 0.5619 GB, free: 164 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.3693, allocations: 354.8 kB / 0.5623 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005441/0.3699, allocations: 418.6 kB / 0.5627 GB, free: 15.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006557/0.3705, allocations: 0.558 MB / 0.5632 GB, free: 14.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001263/0.3718, allocations: 1.019 MB / 0.5642 GB, free: 13.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.3718, allocations: 0 / 0.5642 GB, free: 13.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00161/0.3734, allocations: 1.08 MB / 0.5653 GB, free: 12.58 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.69e-05/0.3735, allocations: 68.64 kB / 0.5653 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.3735, allocations: 8.562 kB / 0.5654 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002044/0.3737, allocations: 48.7 kB / 0.5654 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003773/0.3741, allocations: 87.88 kB / 0.5655 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001388/0.3755, allocations: 1.44 MB / 0.5669 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003492/0.3758, allocations: 43.86 kB / 0.5669 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.951e-05/0.3759, allocations: 27.98 kB / 0.567 GB, free: 10.74 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.0004207/0.3763, allocations: 299.3 kB / 0.5672 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.3764, allocations: 43.77 kB / 0.5673 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001777/0.3782, allocations: 1.139 MB / 0.5684 GB, free: 9.223 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-05/0.3782, allocations: 8 kB / 0.5684 GB, free: 9.215 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.3782, allocations: 4 kB / 0.5684 GB, free: 9.211 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-06/0.3782, allocations: 3.984 kB / 0.5684 GB, free: 9.207 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002708/0.3809, allocations: 1.772 MB / 0.5701 GB, free: 7.359 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.3809, allocations: 3.938 kB / 0.5701 GB, free: 7.355 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002855/0.3812, allocations: 52.03 kB / 0.5702 GB, free: 7.305 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001173/0.3813, allocations: 40.83 kB / 0.5702 GB, free: 7.262 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.579e-05/0.3814, allocations: 12 kB / 0.5702 GB, free: 7.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001297/0.3827, allocations: 1.444 MB / 0.5717 GB, free: 5.691 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.3827, allocations: 0 / 0.5717 GB, free: 5.691 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001716/0.3844, allocations: 1.242 MB / 0.5729 GB, free: 4.402 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002308/0.3846, allocations: 95.67 kB / 0.573 GB, free: 4.309 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.613e-05/0.3847, allocations: 15.98 kB / 0.573 GB, free: 4.293 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002791/0.385, allocations: 31.91 kB / 0.573 GB, free: 4.262 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/0.3851, allocations: 47.81 kB / 0.5731 GB, free: 4.215 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.026e-05/0.3852, allocations: 27.97 kB / 0.5731 GB, free: 4.188 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002133/0.3854, allocations: 199.1 kB / 0.5733 GB, free: 3.992 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3854, allocations: 0 / 0.5733 GB, free: 3.992 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005974/0.386, allocations: 143.9 kB / 0.5734 GB, free: 3.852 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.002182/0.3882, allocations: 1.822 MB / 0.5752 GB, free: 1.988 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001867/0.39, allocations: 1.285 MB / 0.5764 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.39, allocations: 3.938 kB / 0.5764 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001008/0.3911, allocations: 0.7344 MB / 0.5772 GB, free: 15.89 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005504/0.3916, allocations: 68.98 kB / 0.5772 GB, free: 15.83 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008379/0.4, allocations: 6.339 MB / 0.5834 GB, free: 9.242 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003749/0.4004, allocations: 298.5 kB / 0.5837 GB, free: 8.926 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003008/0.4007, allocations: 103.2 kB / 0.5838 GB, free: 8.824 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002517/0.4009, allocations: 155.4 kB / 0.5839 GB, free: 8.672 MB / 430.1 MB Notification: Performance of SimCode: time 1.213e-06/0.4009, allocations: 0 / 0.5839 GB, free: 8.672 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03787/0.4388, allocations: 10.96 MB / 0.5947 GB, free: 13.89 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/12.77, allocations: 8.047 kB / 0.5947 GB, free: 13.88 MB / 446.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Sensor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Sensor.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.648874684004113] Failed to read output from testmodel.py, exit status != 0: 12.938102264073677 12.955004996 12.599626739 Calling exit ...