Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.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.001363/0.001363, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001488/0.001488, allocations: 214.6 kB / 23.74 MB, free: 4.656 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.483/1.483, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.1973/0.1973, allocations: 38.52 MB / 352.5 MB, free: 12.54 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.PVsource,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PVsource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PVsource,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PVsource",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.002358/0.002358, allocations: 59.91 kB / 492.5 MB, free: 4.879 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3165, allocations: 62.46 MB / 0.542 GB, free: 452 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.007522/0.324, allocations: 4.754 MB / 0.5466 GB, free: 12.71 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003202/0.3273, allocations: 1.358 MB / 0.548 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003944/0.3276, allocations: 24.88 kB / 0.548 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001386/0.329, allocations: 420.8 kB / 0.5484 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000816/0.3298, allocations: 256.6 kB / 0.5486 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006888/0.3305, allocations: 167.2 kB / 0.5488 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001067/0.3316, allocations: 0.5626 MB / 0.5493 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005488/0.3322, allocations: 231 kB / 0.5496 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006903/0.3328, allocations: 276.8 kB / 0.5498 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006762/0.3335, allocations: 297.9 kB / 0.5501 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.802e-05/0.3336, allocations: 30.06 kB / 0.5501 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003876/0.334, allocations: 136.7 kB / 0.5503 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002378/0.3342, allocations: 192 kB / 0.5505 GB, free: 9.988 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000353/0.3346, allocations: 215.9 kB / 0.5507 GB, free: 9.852 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000823/0.3354, allocations: 0.516 MB / 0.5512 GB, free: 9.512 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.289e-06/0.3354, allocations: 0 / 0.5512 GB, free: 9.512 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3354, allocations: 0 / 0.5512 GB, free: 9.512 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.524e-05/0.3354, allocations: 5.406 kB / 0.5512 GB, free: 9.508 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.001511/0.337, allocations: 0.631 MB / 0.5518 GB, free: 8.988 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.337, allocations: 13.55 kB / 0.5518 GB, free: 8.984 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001088/0.3371, allocations: 75.94 kB / 0.5519 GB, free: 8.914 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006772/0.3378, allocations: 91.77 kB / 0.552 GB, free: 8.867 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009441/0.3387, allocations: 350.9 kB / 0.5523 GB, free: 8.582 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.918e-05/0.3388, allocations: 23.97 kB / 0.5523 GB, free: 8.574 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001685/0.3389, allocations: 55.2 kB / 0.5524 GB, free: 8.547 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000931/0.3399, allocations: 471.8 kB / 0.5528 GB, free: 8.242 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/0.3399, allocations: 5.719 kB / 0.5528 GB, free: 8.238 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.967e-05/0.3399, allocations: 14.7 kB / 0.5528 GB, free: 8.227 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001283/0.34, allocations: 29.8 kB / 0.5529 GB, free: 8.219 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006795/0.3407, allocations: 337.5 kB / 0.5532 GB, free: 8.059 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003072/0.3438, allocations: 1.637 MB / 0.5548 GB, free: 6.68 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003559/0.3442, allocations: 147.5 kB / 0.5549 GB, free: 6.574 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001909/0.3443, allocations: 102.2 kB / 0.555 GB, free: 6.512 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.3444, allocations: 2.188 kB / 0.555 GB, free: 6.512 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/0.3444, allocations: 32.66 kB / 0.5551 GB, free: 6.473 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 4.609e-06/0.3444, allocations: 3.984 kB / 0.5551 GB, free: 6.469 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001838/0.3463, allocations: 0.7164 MB / 0.5558 GB, free: 5.977 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.921e-05/0.3463, allocations: 79.36 kB / 0.5558 GB, free: 5.883 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004422/0.3468, allocations: 312.3 kB / 0.5561 GB, free: 5.676 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.377e-05/0.3468, allocations: 27.08 kB / 0.5562 GB, free: 5.645 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000258/0.3471, allocations: 252.4 kB / 0.5564 GB, free: 5.418 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.408e-05/0.3471, allocations: 72.67 kB / 0.5565 GB, free: 5.355 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/0.3473, allocations: 60.33 kB / 0.5565 GB, free: 5.309 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002274/0.3475, allocations: 342.6 kB / 0.5569 GB, free: 4.973 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001801/0.3477, allocations: 100.5 kB / 0.557 GB, free: 4.875 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000271/0.3479, allocations: 193.3 kB / 0.5571 GB, free: 4.641 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005079/0.3485, allocations: 319.4 kB / 0.5574 GB, free: 4.285 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3485, allocations: 0 / 0.5574 GB, free: 4.285 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001173/0.3496, allocations: 453.9 kB / 0.5579 GB, free: 3.832 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.3497, allocations: 4 kB / 0.5579 GB, free: 3.828 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000655/0.3503, allocations: 288.8 kB / 0.5582 GB, free: 3.543 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005348/0.3508, allocations: 124.9 kB / 0.5583 GB, free: 3.418 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002238/0.3511, allocations: 59.84 kB / 0.5583 GB, free: 3.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003449/0.3545, allocations: 2.268 MB / 0.5605 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002695/0.3548, allocations: 15.94 kB / 0.5606 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.09e-05/0.3548, allocations: 12 kB / 0.5606 GB, free: 0.9531 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.000294/0.3551, allocations: 189.7 kB / 0.5608 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.3552, allocations: 31.8 kB / 0.5608 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004949/0.3557, allocations: 249.3 kB / 0.561 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/0.3557, allocations: 15.92 kB / 0.561 GB, free: 464 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.3557, allocations: 0 / 0.561 GB, free: 464 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3557, allocations: 0 / 0.561 GB, free: 464 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001439/0.3572, allocations: 0.6835 MB / 0.5617 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/0.3572, allocations: 4 kB / 0.5617 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002309/0.3574, allocations: 39.98 kB / 0.5617 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001244/0.3575, allocations: 32.83 kB / 0.5618 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.3576, allocations: 4 kB / 0.5618 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001514/0.3591, allocations: 1.489 MB / 0.5632 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3591, allocations: 0 / 0.5632 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006111/0.3597, allocations: 417.7 kB / 0.5636 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.194e-05/0.3598, allocations: 31.78 kB / 0.5637 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.953e-05/0.3598, allocations: 8 kB / 0.5637 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.36, allocations: 7.984 kB / 0.5637 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.82e-05/0.36, allocations: 15.98 kB / 0.5637 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.36, allocations: 8 kB / 0.5637 GB, free: 13.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002587/0.3603, allocations: 215 kB / 0.5639 GB, free: 13.31 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3603, allocations: 7.875 kB / 0.5639 GB, free: 13.3 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005257/0.3608, allocations: 88 kB / 0.564 GB, free: 13.21 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): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009332/0.3618, allocations: 0.9653 MB / 0.5649 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007833/0.3625, allocations: 393.2 kB / 0.5653 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3625, allocations: 0 / 0.5653 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003551/0.3629, allocations: 224.2 kB / 0.5655 GB, free: 11.58 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005195/0.3634, allocations: 76.95 kB / 0.5656 GB, free: 11.51 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005066/0.3685, allocations: 3.503 MB / 0.569 GB, free: 7.82 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005397/0.369, allocations: 0.8419 MB / 0.5698 GB, free: 6.949 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001821/0.3692, allocations: 66.91 kB / 0.5699 GB, free: 6.883 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001852/0.3694, allocations: 127.4 kB / 0.57 GB, free: 6.758 MB / 414.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3694, allocations: 0 / 0.57 GB, free: 6.758 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04342/0.4128, allocations: 7.772 MB / 0.5776 GB, free: 15.12 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.07/13.48, allocations: 14.5 kB / 0.5776 GB, free: 15.11 MB / 430.1 MB " [Timeout remaining time 646] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Generation_PVsource_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Generation_PVsource.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.289037434151396] Failed to read output from testmodel.py, exit status != 0: 13.606851586140692 13.625588839 13.286082165 Calling exit ...