Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.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.00128/0.00128, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002268/0.002268, allocations: 210.8 kB / 23.74 MB, free: 4.672 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.477/1.477, allocations: 230.6 MB / 257.5 MB, free: 8 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.1932/0.1932, allocations: 38.53 MB / 352.5 MB, free: 12.52 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.Generation.PQsource,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PQsource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PQsource,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PQsource",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.001996/0.001996, allocations: 63.91 kB / 492.6 MB, free: 4.852 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3325, allocations: 62.46 MB / 0.542 GB, free: 440 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.007231/0.3397, allocations: 4.73 MB / 0.5466 GB, free: 12.72 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003018/0.3427, allocations: 1.373 MB / 0.548 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003615/0.3431, allocations: 17.22 kB / 0.548 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001472/0.3446, allocations: 410 kB / 0.5484 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009277/0.3455, allocations: 254 kB / 0.5486 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006796/0.3462, allocations: 175.2 kB / 0.5488 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001062/0.3472, allocations: 0.5593 MB / 0.5493 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005589/0.3478, allocations: 234.4 kB / 0.5495 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006265/0.3484, allocations: 272.9 kB / 0.5498 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006137/0.349, allocations: 299.8 kB / 0.5501 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.863e-05/0.3491, allocations: 29.94 kB / 0.5501 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003974/0.3495, allocations: 141 kB / 0.5503 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002746/0.3498, allocations: 200.1 kB / 0.5504 GB, free: 9.992 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000296/0.3501, allocations: 223.8 kB / 0.5507 GB, free: 9.848 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009591/0.351, allocations: 0.5087 MB / 0.5512 GB, free: 9.516 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.351, allocations: 0 / 0.5512 GB, free: 9.516 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.416e-06/0.351, allocations: 1.188 kB / 0.5512 GB, free: 9.516 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.693e-05/0.3511, allocations: 0 / 0.5512 GB, free: 9.516 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001609/0.3527, allocations: 0.6334 MB / 0.5518 GB, free: 8.992 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.3527, allocations: 13.88 kB / 0.5518 GB, free: 8.992 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.492e-05/0.3528, allocations: 79.67 kB / 0.5519 GB, free: 8.918 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006473/0.3535, allocations: 92.05 kB / 0.552 GB, free: 8.871 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008136/0.3543, allocations: 344.1 kB / 0.5523 GB, free: 8.594 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.492e-05/0.3543, allocations: 31.78 kB / 0.5523 GB, free: 8.578 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001424/0.3545, allocations: 47.33 kB / 0.5524 GB, free: 8.559 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008301/0.3553, allocations: 475.5 kB / 0.5528 GB, free: 8.254 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.204e-05/0.3553, allocations: 8.906 kB / 0.5528 GB, free: 8.246 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.185e-05/0.3553, allocations: 19.41 kB / 0.5528 GB, free: 8.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001099/0.3555, allocations: 24.23 kB / 0.5529 GB, free: 8.227 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006021/0.3561, allocations: 354.2 kB / 0.5532 GB, free: 8.059 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002741/0.3588, allocations: 1.657 MB / 0.5548 GB, free: 6.672 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003483/0.3591, allocations: 148.2 kB / 0.555 GB, free: 6.566 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001729/0.3593, allocations: 105 kB / 0.5551 GB, free: 6.504 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.3593, allocations: 2.5 kB / 0.5551 GB, free: 6.504 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.554e-05/0.3594, allocations: 39.75 kB / 0.5551 GB, free: 6.457 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 2.334e-06/0.3594, allocations: 1.219 kB / 0.5551 GB, free: 6.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001669/0.3611, allocations: 0.7521 MB / 0.5558 GB, free: 5.945 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.128e-05/0.3611, allocations: 79.36 kB / 0.5559 GB, free: 5.852 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000342/0.3615, allocations: 308.3 kB / 0.5562 GB, free: 5.652 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.876e-05/0.3615, allocations: 34.03 kB / 0.5562 GB, free: 5.613 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000201/0.3617, allocations: 260 kB / 0.5565 GB, free: 5.355 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.425e-05/0.3618, allocations: 67.38 kB / 0.5566 GB, free: 5.289 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.746e-05/0.3619, allocations: 57.98 kB / 0.5566 GB, free: 5.223 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002057/0.3621, allocations: 346.7 kB / 0.5569 GB, free: 4.875 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001706/0.3623, allocations: 96.22 kB / 0.557 GB, free: 4.781 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002548/0.3625, allocations: 209.2 kB / 0.5572 GB, free: 4.531 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004447/0.363, allocations: 327.4 kB / 0.5575 GB, free: 4.168 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.363, allocations: 0 / 0.5575 GB, free: 4.168 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009631/0.3639, allocations: 469.7 kB / 0.558 GB, free: 3.699 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.364, allocations: 8 kB / 0.558 GB, free: 3.691 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007024/0.3647, allocations: 308.7 kB / 0.5583 GB, free: 3.387 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005812/0.3652, allocations: 137 kB / 0.5584 GB, free: 3.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/0.3654, allocations: 51.91 kB / 0.5585 GB, free: 3.199 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003244/0.3687, allocations: 2.341 MB / 0.5608 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000271/0.369, allocations: 19.98 kB / 0.5608 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.2e-05/0.369, allocations: 11.94 kB / 0.5608 GB, free: 0.7188 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002781/0.3693, allocations: 189.7 kB / 0.561 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.729e-05/0.3693, allocations: 27.81 kB / 0.561 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004904/0.3698, allocations: 273.3 kB / 0.5613 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.3698, allocations: 0 / 0.5613 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.3698, allocations: 0 / 0.5613 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.3698, allocations: 4 kB / 0.5613 GB, free: 216 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00127/0.3711, allocations: 0.699 MB / 0.5619 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.3711, allocations: 8.062 kB / 0.5619 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002699/0.3714, allocations: 39.91 kB / 0.562 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001328/0.3715, allocations: 36.83 kB / 0.562 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/0.3715, allocations: 8 kB / 0.562 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.3715, allocations: 0 / 0.562 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.3715, allocations: 4 kB / 0.562 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006254/0.3722, allocations: 442.5 kB / 0.5625 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.919e-05/0.3722, allocations: 27.91 kB / 0.5625 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.861e-05/0.3723, allocations: 4 kB / 0.5625 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.3724, allocations: 16.02 kB / 0.5625 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.3725, allocations: 19.91 kB / 0.5625 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.3725, allocations: 4 kB / 0.5625 GB, free: 14.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002712/0.3728, allocations: 223.1 kB / 0.5627 GB, free: 14.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3728, allocations: 0 / 0.5627 GB, free: 14.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005262/0.3733, allocations: 88 kB / 0.5628 GB, free: 14.52 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009734/0.3743, allocations: 0.977 MB / 0.5638 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007618/0.375, allocations: 409.8 kB / 0.5642 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.375, allocations: 0 / 0.5642 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001929/0.3752, allocations: 96.75 kB / 0.5643 GB, free: 12.99 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004879/0.3757, allocations: 71.7 kB / 0.5643 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004984/0.3807, allocations: 3.567 MB / 0.5678 GB, free: 9.172 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005379/0.3812, allocations: 0.838 MB / 0.5686 GB, free: 8.305 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001901/0.3814, allocations: 70.84 kB / 0.5687 GB, free: 8.238 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002025/0.3816, allocations: 127.4 kB / 0.5688 GB, free: 8.113 MB / 414.1 MB Notification: Performance of SimCode: time 1.102e-06/0.3816, allocations: 0 / 0.5688 GB, free: 8.113 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04577/0.4274, allocations: 7.643 MB / 0.5763 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.57/13.99, allocations: 11.58 kB / 0.5763 GB, free: 0.5938 MB / 414.1 MB " [Timeout remaining time 646] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Generation_PQsource_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Generation_PQsource.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.815459268866107] Failed to read output from testmodel.py, exit status != 0: 14.115942802047357 14.134045662 13.779061438 Calling exit ...