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.001347/0.001347, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001497/0.001497, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.479/1.479, allocations: 230.6 MB / 258.3 MB, free: 8.027 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.2278/0.2278, allocations: 38.52 MB / 353.2 MB, free: 12.56 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PQsource,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PQsource",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.002011/0.002011, allocations: 63.91 kB / 493.3 MB, free: 4.891 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.3227, allocations: 62.47 MB / 0.5428 GB, free: 452 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.006575/0.3292, allocations: 4.723 MB / 0.5474 GB, free: 12.74 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002279/0.3315, allocations: 1.368 MB / 0.5487 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001733/0.3317, allocations: 21.75 kB / 0.5487 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001158/0.3328, allocations: 417.3 kB / 0.5491 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005381/0.3334, allocations: 250.6 kB / 0.5494 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004734/0.3339, allocations: 167.4 kB / 0.5495 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007093/0.3346, allocations: 0.5674 MB / 0.5501 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004101/0.335, allocations: 237.7 kB / 0.5503 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004381/0.3354, allocations: 261.5 kB / 0.5506 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005139/0.3359, allocations: 302.9 kB / 0.5509 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.27e-05/0.336, allocations: 31 kB / 0.5509 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002923/0.3363, allocations: 140 kB / 0.551 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002167/0.3365, allocations: 200 kB / 0.5512 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002248/0.3367, allocations: 215.1 kB / 0.5514 GB, free: 9.875 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000624/0.3373, allocations: 0.522 MB / 0.5519 GB, free: 9.531 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3373, allocations: 3.938 kB / 0.5519 GB, free: 9.527 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3373, allocations: 0 / 0.5519 GB, free: 9.527 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.3374, allocations: 0 / 0.5519 GB, free: 9.527 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.001171/0.3385, allocations: 0.6298 MB / 0.5525 GB, free: 9.008 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.3386, allocations: 18.05 kB / 0.5526 GB, free: 9 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.416e-05/0.3386, allocations: 14.25 kB / 0.5526 GB, free: 8.996 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.739e-05/0.3387, allocations: 80.19 kB / 0.5527 GB, free: 8.922 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005884/0.3393, allocations: 91.66 kB / 0.5527 GB, free: 8.875 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006858/0.3399, allocations: 344.5 kB / 0.5531 GB, free: 8.598 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/0.34, allocations: 26.66 kB / 0.5531 GB, free: 8.586 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/0.3401, allocations: 43.33 kB / 0.5531 GB, free: 8.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007406/0.3408, allocations: 483.4 kB / 0.5536 GB, free: 8.258 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.3409, allocations: 1.469 kB / 0.5536 GB, free: 8.258 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.882e-05/0.3409, allocations: 15.12 kB / 0.5536 GB, free: 8.246 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001007/0.341, allocations: 24.7 kB / 0.5536 GB, free: 8.242 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005613/0.3416, allocations: 357.9 kB / 0.554 GB, free: 8.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002341/0.3439, allocations: 1.657 MB / 0.5556 GB, free: 6.684 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003014/0.3442, allocations: 147.3 kB / 0.5557 GB, free: 6.578 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001613/0.3444, allocations: 108.6 kB / 0.5558 GB, free: 6.516 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.3444, allocations: 6.062 kB / 0.5558 GB, free: 6.512 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.3444, allocations: 39.53 kB / 0.5559 GB, free: 6.465 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.793e-06/0.3444, allocations: 1.094 kB / 0.5559 GB, free: 6.465 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001552/0.346, allocations: 0.7379 MB / 0.5566 GB, free: 5.965 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.272e-05/0.346, allocations: 87.64 kB / 0.5567 GB, free: 5.863 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003466/0.3464, allocations: 314 kB / 0.557 GB, free: 5.648 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.05e-05/0.3464, allocations: 29.7 kB / 0.557 GB, free: 5.613 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001975/0.3466, allocations: 252 kB / 0.5573 GB, free: 5.359 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.377e-05/0.3467, allocations: 67.42 kB / 0.5573 GB, free: 5.293 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.3468, allocations: 57.98 kB / 0.5574 GB, free: 5.227 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.3469, allocations: 342.8 kB / 0.5577 GB, free: 4.883 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000176/0.3471, allocations: 104.2 kB / 0.5578 GB, free: 4.781 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002469/0.3474, allocations: 201 kB / 0.558 GB, free: 4.543 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004642/0.3478, allocations: 327.8 kB / 0.5583 GB, free: 4.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3478, allocations: 3.938 kB / 0.5583 GB, free: 4.176 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009831/0.3488, allocations: 477.5 kB / 0.5588 GB, free: 3.699 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.3488, allocations: 4 kB / 0.5588 GB, free: 3.695 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006511/0.3495, allocations: 313.1 kB / 0.5591 GB, free: 3.387 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005256/0.35, allocations: 132.7 kB / 0.5592 GB, free: 3.254 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002112/0.3502, allocations: 55.86 kB / 0.5592 GB, free: 3.199 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003131/0.3534, allocations: 2.336 MB / 0.5615 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002537/0.3536, allocations: 15.98 kB / 0.5615 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.487e-05/0.3536, allocations: 12 kB / 0.5616 GB, free: 0.7227 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.0002976/0.3539, allocations: 189.7 kB / 0.5617 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.53e-05/0.354, allocations: 35.75 kB / 0.5618 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004831/0.3545, allocations: 261.3 kB / 0.562 GB, free: 232 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.3545, allocations: 4 kB / 0.562 GB, free: 228 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.3545, allocations: 0 / 0.562 GB, free: 228 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3545, allocations: 0 / 0.562 GB, free: 228 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001272/0.3558, allocations: 0.7107 MB / 0.5627 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.3558, allocations: 0 / 0.5627 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000218/0.356, allocations: 47.91 kB / 0.5628 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001151/0.3561, allocations: 32.83 kB / 0.5628 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.002e-05/0.3561, allocations: 8 kB / 0.5628 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.3561, allocations: 3.938 kB / 0.5628 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3561, allocations: 0 / 0.5628 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005978/0.3567, allocations: 453.7 kB / 0.5632 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.304e-05/0.3568, allocations: 27.81 kB / 0.5633 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.417e-05/0.3568, allocations: 8.031 kB / 0.5633 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/0.357, allocations: 8 kB / 0.5633 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.578e-05/0.357, allocations: 19.91 kB / 0.5633 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.357, allocations: 8 kB / 0.5633 GB, free: 14.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002459/0.3573, allocations: 219 kB / 0.5635 GB, free: 14.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3573, allocations: 4 kB / 0.5635 GB, free: 14.6 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004859/0.3578, allocations: 84 kB / 0.5636 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.0009229/0.3587, allocations: 0.9731 MB / 0.5645 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008042/0.3595, allocations: 409.5 kB / 0.5649 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3595, allocations: 0 / 0.5649 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001936/0.3597, allocations: 92.75 kB / 0.565 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005147/0.3602, allocations: 77.67 kB / 0.5651 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005233/0.3654, allocations: 3.566 MB / 0.5686 GB, free: 9.172 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005712/0.366, allocations: 0.8457 MB / 0.5694 GB, free: 8.297 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002295/0.3662, allocations: 62.92 kB / 0.5695 GB, free: 8.234 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000194/0.3664, allocations: 127.4 kB / 0.5696 GB, free: 8.109 MB / 414.1 MB Notification: Performance of SimCode: time 1.092e-06/0.3664, allocations: 0 / 0.5696 GB, free: 8.109 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03345/0.3999, allocations: 7.675 MB / 0.5771 GB, free: 0.582 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.63/14.03, allocations: 6.797 kB / 0.5771 GB, free: 0.582 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.97408907598583] Failed to read output from testmodel.py, exit status != 0: 14.212365856976248 14.243095284 13.900271727 Calling exit ...