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.001395/0.001395, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001492/0.001492, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.539/1.539, allocations: 230.6 MB / 258.3 MB, free: 8.012 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.1894/0.1894, allocations: 38.51 MB / 353.2 MB, free: 12.53 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.001999/0.001999, allocations: 63.91 kB / 493.3 MB, free: 4.875 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.3311, allocations: 62.47 MB / 0.5428 GB, free: 448 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.006349/0.3375, allocations: 4.673 MB / 0.5473 GB, free: 12.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002534/0.34, allocations: 1.463 MB / 0.5488 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001846/0.3402, allocations: 19.75 kB / 0.5488 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008767/0.3411, allocations: 311.2 kB / 0.5491 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005628/0.3416, allocations: 279.8 kB / 0.5493 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006592/0.3423, allocations: 257.2 kB / 0.5496 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007248/0.343, allocations: 0.6641 MB / 0.5502 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003724/0.3434, allocations: 220.7 kB / 0.5504 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004727/0.3439, allocations: 311.1 kB / 0.5507 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000616/0.3445, allocations: 448.9 kB / 0.5512 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.458e-05/0.3446, allocations: 45 kB / 0.5512 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000447/0.345, allocations: 241.2 kB / 0.5514 GB, free: 9.902 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002524/0.3453, allocations: 250.2 kB / 0.5517 GB, free: 9.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003144/0.3456, allocations: 293.9 kB / 0.552 GB, free: 9.555 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009158/0.3465, allocations: 0.7591 MB / 0.5527 GB, free: 9.055 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.3465, allocations: 0 / 0.5527 GB, free: 9.055 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3465, allocations: 5.344 kB / 0.5527 GB, free: 9.051 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.135e-05/0.3465, allocations: 0 / 0.5527 GB, free: 9.051 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.001605/0.3481, allocations: 0.8189 MB / 0.5535 GB, free: 8.402 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.3482, allocations: 17.42 kB / 0.5535 GB, free: 8.395 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.349e-05/0.3482, allocations: 12.72 kB / 0.5535 GB, free: 8.391 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001174/0.3483, allocations: 95.66 kB / 0.5536 GB, free: 8.309 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007313/0.349, allocations: 126.9 kB / 0.5537 GB, free: 8.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006765/0.3497, allocations: 381.1 kB / 0.5541 GB, free: 7.957 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.266e-05/0.3497, allocations: 33.53 kB / 0.5541 GB, free: 7.941 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.777e-05/0.3498, allocations: 38.61 kB / 0.5542 GB, free: 7.93 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001289/0.3511, allocations: 0.862 MB / 0.555 GB, free: 7.406 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/0.3511, allocations: 2.25 kB / 0.555 GB, free: 7.406 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.004e-05/0.3512, allocations: 16.45 kB / 0.555 GB, free: 7.395 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001495/0.3513, allocations: 63.23 kB / 0.5551 GB, free: 7.375 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001211/0.3525, allocations: 0.7995 MB / 0.5559 GB, free: 6.949 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003968/0.3565, allocations: 2.638 MB / 0.5585 GB, free: 4.176 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008508/0.3574, allocations: 0.4899 MB / 0.5589 GB, free: 3.668 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005105/0.3579, allocations: 362.6 kB / 0.5593 GB, free: 3.309 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.656e-05/0.3579, allocations: 8 kB / 0.5593 GB, free: 3.301 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.3579, allocations: 34.5 kB / 0.5593 GB, free: 3.258 MB / 398.1 MB Notification: Performance of pre-optimization done (n=56): time 3.026e-06/0.358, allocations: 0 / 0.5593 GB, free: 3.258 MB / 398.1 MB Notification: Performance of matching and sorting (n=57): time 0.00319/0.3611, allocations: 1.818 MB / 0.5611 GB, free: 1.418 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/0.3613, allocations: 138.7 kB / 0.5612 GB, free: 1.258 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003512/0.3616, allocations: 300.4 kB / 0.5615 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.298e-05/0.3617, allocations: 37.69 kB / 0.5616 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002111/0.3619, allocations: 256.9 kB / 0.5618 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001793/0.3621, allocations: 198.3 kB / 0.562 GB, free: 472 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001844/0.3622, allocations: 102.2 kB / 0.5621 GB, free: 364 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.3624, allocations: 350.8 kB / 0.5624 GB, free: 4 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000504/0.3629, allocations: 348.8 kB / 0.5628 GB, free: 15.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000593/0.3635, allocations: 485.8 kB / 0.5632 GB, free: 15.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001242/0.3647, allocations: 0.976 MB / 0.5642 GB, free: 14.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3647, allocations: 0 / 0.5642 GB, free: 14.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001618/0.3664, allocations: 0.9928 MB / 0.5651 GB, free: 13.08 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001102/0.3665, allocations: 73.66 kB / 0.5652 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/0.3665, allocations: 4.562 kB / 0.5652 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002228/0.3667, allocations: 44.84 kB / 0.5653 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003809/0.3671, allocations: 83.81 kB / 0.5653 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001426/0.3685, allocations: 1.448 MB / 0.5667 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003611/0.3689, allocations: 35.91 kB / 0.5668 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.586e-05/0.3689, allocations: 27.98 kB / 0.5668 GB, free: 11.24 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.0004344/0.3694, allocations: 299.2 kB / 0.5671 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.3695, allocations: 43.72 kB / 0.5671 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001697/0.3712, allocations: 1.087 MB / 0.5682 GB, free: 9.785 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-05/0.3712, allocations: 12.14 kB / 0.5682 GB, free: 9.773 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.3712, allocations: 7.922 kB / 0.5682 GB, free: 9.766 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.3712, allocations: 3.984 kB / 0.5682 GB, free: 9.762 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002755/0.374, allocations: 1.766 MB / 0.5699 GB, free: 7.926 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.374, allocations: 4.062 kB / 0.5699 GB, free: 7.922 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002762/0.3743, allocations: 55.91 kB / 0.57 GB, free: 7.867 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000117/0.3744, allocations: 36.83 kB / 0.57 GB, free: 7.828 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.409e-05/0.3744, allocations: 8 kB / 0.57 GB, free: 7.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001337/0.3758, allocations: 1.444 MB / 0.5715 GB, free: 6.262 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.3758, allocations: 4.031 kB / 0.5715 GB, free: 6.258 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001682/0.3775, allocations: 1.182 MB / 0.5726 GB, free: 5.035 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002539/0.3777, allocations: 95.72 kB / 0.5727 GB, free: 4.941 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.288e-05/0.3778, allocations: 15.98 kB / 0.5727 GB, free: 4.926 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002728/0.3781, allocations: 27.95 kB / 0.5727 GB, free: 4.898 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.3782, allocations: 47.81 kB / 0.5728 GB, free: 4.852 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.209e-05/0.3783, allocations: 16 kB / 0.5728 GB, free: 4.836 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002558/0.3785, allocations: 207.1 kB / 0.573 GB, free: 4.633 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3785, allocations: 0 / 0.573 GB, free: 4.633 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006115/0.3791, allocations: 143.9 kB / 0.5731 GB, free: 4.492 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.0022/0.3813, allocations: 1.777 MB / 0.5749 GB, free: 2.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001786/0.3831, allocations: 1.141 MB / 0.576 GB, free: 1.512 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.3831, allocations: 3.938 kB / 0.576 GB, free: 1.508 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009573/0.3841, allocations: 0.7013 MB / 0.5767 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006223/0.3847, allocations: 74.09 kB / 0.5768 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008225/0.3929, allocations: 5.905 MB / 0.5825 GB, free: 10.59 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006193/0.3935, allocations: 0.9015 MB / 0.5834 GB, free: 9.664 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002936/0.3938, allocations: 107.2 kB / 0.5835 GB, free: 9.559 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002313/0.3941, allocations: 155.4 kB / 0.5836 GB, free: 9.406 MB / 430.1 MB Notification: Performance of SimCode: time 6.92e-07/0.3941, allocations: 0 / 0.5836 GB, free: 9.406 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05243/0.4465, allocations: 10.88 MB / 0.5943 GB, free: 14.67 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.41/12.86, allocations: 7.031 kB / 0.5943 GB, free: 14.67 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.822278040985111] Failed to read output from testmodel.py, exit status != 0: 13.034817602019757 13.059825138 12.708549183 Calling exit ...