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.001384/0.001384, allocations: 111.1 kB / 20.44 MB, free: 1.199 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.001594/0.001594, allocations: 209.2 kB / 23.73 MB, free: 4.41 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.484/1.484, allocations: 230.6 MB / 257.5 MB, free: 7.82 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.2149/0.2149, allocations: 38.56 MB / 352.5 MB, free: 12.34 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Sensor,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Sensor",fmuType="me",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.002135/0.002135, allocations: 67.88 kB / 492.5 MB, free: 4.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3224, allocations: 62.46 MB / 0.5419 GB, free: 288 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.006312/0.3287, allocations: 4.416 MB / 0.5462 GB, free: 12.9 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002612/0.3313, allocations: 1.348 MB / 0.5476 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002206/0.3315, allocations: 21.03 kB / 0.5476 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009473/0.3324, allocations: 290.6 kB / 0.5479 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006465/0.3331, allocations: 284.3 kB / 0.5481 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007368/0.3338, allocations: 258.4 kB / 0.5484 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007956/0.3346, allocations: 0.6582 MB / 0.549 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003658/0.335, allocations: 218.2 kB / 0.5492 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004659/0.3355, allocations: 314.8 kB / 0.5495 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006059/0.3361, allocations: 432.8 kB / 0.5499 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.178e-05/0.3361, allocations: 44.19 kB / 0.55 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004684/0.3366, allocations: 217.8 kB / 0.5502 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002846/0.3369, allocations: 258.3 kB / 0.5504 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000316/0.3372, allocations: 241.1 kB / 0.5507 GB, free: 9.895 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00103/0.3382, allocations: 0.758 MB / 0.5514 GB, free: 9.402 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3382, allocations: 0 / 0.5514 GB, free: 9.402 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3382, allocations: 9.188 kB / 0.5514 GB, free: 9.395 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.3383, allocations: 0 / 0.5514 GB, free: 9.395 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.00163/0.3399, allocations: 0.8233 MB / 0.5522 GB, free: 8.742 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/0.3399, allocations: 13.83 kB / 0.5522 GB, free: 8.738 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001297/0.3401, allocations: 95.06 kB / 0.5523 GB, free: 8.656 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006986/0.3408, allocations: 124.2 kB / 0.5524 GB, free: 8.602 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007858/0.3416, allocations: 378.1 kB / 0.5528 GB, free: 8.309 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.129e-05/0.3416, allocations: 33.05 kB / 0.5528 GB, free: 8.293 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.3417, allocations: 46.77 kB / 0.5529 GB, free: 8.273 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/0.3431, allocations: 0.9314 MB / 0.5538 GB, free: 7.715 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.3431, allocations: 1.25 kB / 0.5538 GB, free: 7.715 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.077e-05/0.3432, allocations: 28.62 kB / 0.5538 GB, free: 7.691 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001479/0.3433, allocations: 60.11 kB / 0.5539 GB, free: 7.672 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001383/0.3447, allocations: 0.8669 MB / 0.5547 GB, free: 7.082 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004018/0.3487, allocations: 2.536 MB / 0.5572 GB, free: 4.406 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009606/0.3497, allocations: 0.5579 MB / 0.5577 GB, free: 3.824 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007669/0.3505, allocations: 440.2 kB / 0.5582 GB, free: 3.383 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.432e-05/0.3505, allocations: 8 kB / 0.5582 GB, free: 3.375 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.155e-05/0.3506, allocations: 34.56 kB / 0.5582 GB, free: 3.332 MB / 398.1 MB Notification: Performance of pre-optimization done (n=56): time 3.025e-06/0.3506, allocations: 7.875 kB / 0.5582 GB, free: 3.324 MB / 398.1 MB Notification: Performance of matching and sorting (n=57): time 0.003317/0.3539, allocations: 2.005 MB / 0.5602 GB, free: 1.285 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/0.354, allocations: 142.9 kB / 0.5603 GB, free: 1.121 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003389/0.3543, allocations: 304.3 kB / 0.5606 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.396e-05/0.3544, allocations: 29.7 kB / 0.5606 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002111/0.3546, allocations: 272.8 kB / 0.5609 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001766/0.3548, allocations: 194.3 kB / 0.5611 GB, free: 324 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001733/0.3549, allocations: 98.06 kB / 0.5612 GB, free: 220 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001977/0.3551, allocations: 354.8 kB / 0.5615 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005808/0.3557, allocations: 418.6 kB / 0.5619 GB, free: 15.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006696/0.3564, allocations: 0.5425 MB / 0.5624 GB, free: 14.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001307/0.3577, allocations: 1.027 MB / 0.5634 GB, free: 13.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3577, allocations: 0 / 0.5634 GB, free: 13.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001672/0.3594, allocations: 1.073 MB / 0.5645 GB, free: 12.65 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.67e-05/0.3595, allocations: 80.56 kB / 0.5646 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/0.3595, allocations: 8 kB / 0.5646 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002622/0.3597, allocations: 40.78 kB / 0.5646 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003688/0.3601, allocations: 87.86 kB / 0.5647 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001622/0.3617, allocations: 1.44 MB / 0.5661 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000355/0.3621, allocations: 35.95 kB / 0.5661 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.977e-05/0.3622, allocations: 31.92 kB / 0.5662 GB, free: 10.81 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.0004398/0.3626, allocations: 296.6 kB / 0.5664 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001243/0.3627, allocations: 47.7 kB / 0.5665 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001846/0.3646, allocations: 1.143 MB / 0.5676 GB, free: 9.289 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.797e-05/0.3646, allocations: 11.98 kB / 0.5676 GB, free: 9.277 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.3646, allocations: 8.062 kB / 0.5676 GB, free: 9.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.3646, allocations: 0 / 0.5676 GB, free: 9.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00295/0.3676, allocations: 1.768 MB / 0.5694 GB, free: 7.426 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.3676, allocations: 0 / 0.5694 GB, free: 7.426 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000287/0.3678, allocations: 63.89 kB / 0.5694 GB, free: 7.363 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001246/0.368, allocations: 32.84 kB / 0.5694 GB, free: 7.328 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.917e-05/0.368, allocations: 11.98 kB / 0.5695 GB, free: 7.316 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00156/0.3696, allocations: 1.455 MB / 0.5709 GB, free: 5.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.3696, allocations: 0 / 0.5709 GB, free: 5.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001889/0.3715, allocations: 1.234 MB / 0.5721 GB, free: 4.469 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003314/0.3718, allocations: 95.7 kB / 0.5722 GB, free: 4.375 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.368e-05/0.3719, allocations: 16 kB / 0.5722 GB, free: 4.359 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002763/0.3722, allocations: 27.97 kB / 0.5722 GB, free: 4.332 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/0.3723, allocations: 47.75 kB / 0.5723 GB, free: 4.285 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.613e-05/0.3723, allocations: 23.98 kB / 0.5723 GB, free: 4.262 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003091/0.3726, allocations: 207.1 kB / 0.5725 GB, free: 4.059 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3726, allocations: 0 / 0.5725 GB, free: 4.059 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006687/0.3733, allocations: 144 kB / 0.5726 GB, free: 3.918 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.002362/0.3757, allocations: 1.818 MB / 0.5744 GB, free: 2.059 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001912/0.3776, allocations: 1.268 MB / 0.5756 GB, free: 0.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.792e-06/0.3776, allocations: 4 kB / 0.5756 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001008/0.3786, allocations: 0.7459 MB / 0.5764 GB, free: 15.97 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000596/0.3792, allocations: 72.19 kB / 0.5764 GB, free: 15.9 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009044/0.3882, allocations: 6.343 MB / 0.5826 GB, free: 9.309 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/0.3886, allocations: 310.4 kB / 0.5829 GB, free: 8.98 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003117/0.3889, allocations: 99.19 kB / 0.583 GB, free: 8.883 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002415/0.3892, allocations: 155.4 kB / 0.5832 GB, free: 8.73 MB / 430.1 MB Notification: Performance of SimCode: time 1.352e-06/0.3892, allocations: 0 / 0.5832 GB, free: 8.73 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04684/0.436, allocations: 11.12 MB / 0.594 GB, free: 13.77 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.26, allocations: 6.672 kB / 0.594 GB, free: 13.77 MB / 446.1 MB " [Timeout remaining time 648] (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.082880985923111] Failed to read output from testmodel.py, exit status != 0: 12.381242890842259 12.410185836 12.06650373 Calling exit ...