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.00176/0.00176, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001595/0.001595, allocations: 217.9 kB / 23.73 MB, free: 4.164 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.493/1.493, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.1863/0.1863, allocations: 38.56 MB / 352.5 MB, free: 12.32 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.002152/0.002152, allocations: 66.23 kB / 492.5 MB, free: 4.711 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3401, allocations: 62.46 MB / 0.5419 GB, free: 148 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.008016/0.3481, allocations: 4.477 MB / 0.5463 GB, free: 12.71 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003102/0.3512, allocations: 1.262 MB / 0.5475 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003514/0.3515, allocations: 16.91 kB / 0.5476 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001512/0.3531, allocations: 391.1 kB / 0.5479 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001131/0.3542, allocations: 257.2 kB / 0.5482 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008429/0.355, allocations: 168.9 kB / 0.5483 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009651/0.356, allocations: 0.5627 MB / 0.5489 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004617/0.3565, allocations: 226.3 kB / 0.5491 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005993/0.3571, allocations: 276.4 kB / 0.5494 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005548/0.3576, allocations: 284.1 kB / 0.5496 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.771e-05/0.3577, allocations: 30.34 kB / 0.5497 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003733/0.358, allocations: 123 kB / 0.5498 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002697/0.3583, allocations: 203.7 kB / 0.55 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002287/0.3585, allocations: 175.6 kB / 0.5501 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000706/0.3592, allocations: 0.5216 MB / 0.5507 GB, free: 9.711 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.3593, allocations: 5.125 kB / 0.5507 GB, free: 9.707 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3593, allocations: 3.938 kB / 0.5507 GB, free: 9.703 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.709e-06/0.3593, allocations: 4 kB / 0.5507 GB, free: 9.699 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.001289/0.3606, allocations: 0.6268 MB / 0.5513 GB, free: 9.184 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/0.3606, allocations: 13.05 kB / 0.5513 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001353/0.3607, allocations: 76.56 kB / 0.5514 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006889/0.3614, allocations: 88.11 kB / 0.5515 GB, free: 9.066 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008621/0.3623, allocations: 352.8 kB / 0.5518 GB, free: 8.781 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.033e-05/0.3623, allocations: 23.31 kB / 0.5518 GB, free: 8.773 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001334/0.3625, allocations: 47.89 kB / 0.5519 GB, free: 8.754 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007947/0.3633, allocations: 489.2 kB / 0.5523 GB, free: 8.441 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/0.3633, allocations: 5.219 kB / 0.5523 GB, free: 8.438 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.127e-05/0.3633, allocations: 11.28 kB / 0.5523 GB, free: 8.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001133/0.3634, allocations: 28.83 kB / 0.5524 GB, free: 8.422 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006018/0.364, allocations: 351.3 kB / 0.5527 GB, free: 8.254 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002432/0.3665, allocations: 1.487 MB / 0.5542 GB, free: 7.059 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002961/0.3668, allocations: 144 kB / 0.5543 GB, free: 6.957 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001701/0.3669, allocations: 105.4 kB / 0.5544 GB, free: 6.895 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.3669, allocations: 2.312 kB / 0.5544 GB, free: 6.895 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.367, allocations: 36.66 kB / 0.5544 GB, free: 6.852 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.963e-06/0.367, allocations: 0 / 0.5544 GB, free: 6.852 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001676/0.3687, allocations: 0.7481 MB / 0.5552 GB, free: 6.344 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.854e-05/0.3687, allocations: 83.22 kB / 0.5552 GB, free: 6.246 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000401/0.3691, allocations: 315.2 kB / 0.5555 GB, free: 5.969 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.3691, allocations: 25.7 kB / 0.5556 GB, free: 5.938 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002197/0.3694, allocations: 264 kB / 0.5558 GB, free: 5.676 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.313e-05/0.3694, allocations: 63.48 kB / 0.5559 GB, free: 5.613 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.3695, allocations: 57.94 kB / 0.5559 GB, free: 5.547 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002044/0.3697, allocations: 354.9 kB / 0.5563 GB, free: 5.191 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001676/0.3699, allocations: 100.2 kB / 0.5564 GB, free: 5.094 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002616/0.3702, allocations: 197.3 kB / 0.5566 GB, free: 4.855 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004599/0.3706, allocations: 324.2 kB / 0.5569 GB, free: 4.496 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.3706, allocations: 0 / 0.5569 GB, free: 4.496 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009488/0.3716, allocations: 477.7 kB / 0.5573 GB, free: 4.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.3716, allocations: 8 kB / 0.5573 GB, free: 4.012 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006418/0.3722, allocations: 307.7 kB / 0.5576 GB, free: 3.711 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005099/0.3728, allocations: 136.7 kB / 0.5577 GB, free: 3.574 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000201/0.373, allocations: 60.03 kB / 0.5578 GB, free: 3.516 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003117/0.3761, allocations: 2.319 MB / 0.5601 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002162/0.3763, allocations: 12 kB / 0.5601 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.658e-05/0.3763, allocations: 15.94 kB / 0.5601 GB, free: 1.059 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.0002485/0.3766, allocations: 193.7 kB / 0.5603 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.37e-05/0.3766, allocations: 31.8 kB / 0.5603 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000489/0.3771, allocations: 269.3 kB / 0.5606 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.3771, allocations: 0 / 0.5606 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3771, allocations: 3.984 kB / 0.5606 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.3771, allocations: 4 kB / 0.5606 GB, free: 0.543 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001258/0.3784, allocations: 0.6757 MB / 0.5612 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.3784, allocations: 4 kB / 0.5612 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002129/0.3786, allocations: 35.92 kB / 0.5613 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001207/0.3787, allocations: 40.89 kB / 0.5613 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.3787, allocations: 7.984 kB / 0.5613 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-06/0.3787, allocations: 4 kB / 0.5613 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3787, allocations: 0 / 0.5613 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005984/0.3793, allocations: 445.2 kB / 0.5617 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.173e-05/0.3794, allocations: 31.84 kB / 0.5618 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.198e-05/0.3794, allocations: 8 kB / 0.5618 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.3796, allocations: 7.984 kB / 0.5618 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.942e-05/0.3796, allocations: 15.92 kB / 0.5618 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.3797, allocations: 4 kB / 0.5618 GB, free: 15.19 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000241/0.3799, allocations: 227 kB / 0.562 GB, free: 14.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3799, allocations: 0 / 0.562 GB, free: 14.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004657/0.3804, allocations: 84 kB / 0.5621 GB, free: 14.88 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.0009587/0.3813, allocations: 0.9809 MB / 0.5631 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000737/0.3821, allocations: 401.9 kB / 0.5635 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3821, allocations: 0 / 0.5635 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001995/0.3823, allocations: 100.7 kB / 0.5635 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004687/0.3827, allocations: 61.75 kB / 0.5636 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004968/0.3877, allocations: 3.588 MB / 0.5671 GB, free: 9.523 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.388, allocations: 233.1 kB / 0.5673 GB, free: 9.273 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001904/0.3882, allocations: 66.91 kB / 0.5674 GB, free: 9.207 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001877/0.3884, allocations: 123.4 kB / 0.5675 GB, free: 9.086 MB / 414.1 MB Notification: Performance of SimCode: time 8.21e-07/0.3884, allocations: 0 / 0.5675 GB, free: 9.086 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04018/0.4285, allocations: 7.912 MB / 0.5752 GB, free: 1.344 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.32/13.75, allocations: 7.625 kB / 0.5752 GB, free: 1.34 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.533568990882486] Failed to read output from testmodel.py, exit status != 0: 13.871046349871904 13.887384707 13.524680851 Calling exit ...