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.001748/0.001748, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.002173/0.002173, allocations: 212.6 kB / 24.51 MB, free: 3.941 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.442/1.442, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.1911/0.1911, allocations: 38.56 MB / 353.2 MB, free: 12.3 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PVsource,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PVsource",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.003329/0.003329, allocations: 63.91 kB / 493.3 MB, free: 4.688 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3533, allocations: 62.46 MB / 0.5427 GB, free: 264 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.006603/0.3599, allocations: 4.486 MB / 0.5471 GB, free: 12.81 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002515/0.3624, allocations: 1.267 MB / 0.5483 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001911/0.3626, allocations: 21.25 kB / 0.5483 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001197/0.3638, allocations: 389.6 kB / 0.5487 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006446/0.3644, allocations: 253.1 kB / 0.549 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005932/0.365, allocations: 175.4 kB / 0.5491 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007006/0.3657, allocations: 0.563 MB / 0.5497 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00041/0.3661, allocations: 234.5 kB / 0.5499 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000444/0.3666, allocations: 268.5 kB / 0.5502 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004698/0.367, allocations: 297.7 kB / 0.5504 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.61e-05/0.3671, allocations: 34.03 kB / 0.5505 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002895/0.3674, allocations: 131.4 kB / 0.5506 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002032/0.3676, allocations: 185.3 kB / 0.5508 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002169/0.3678, allocations: 179.2 kB / 0.5509 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007134/0.3685, allocations: 0.5207 MB / 0.5514 GB, free: 9.781 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.3685, allocations: 0 / 0.5514 GB, free: 9.781 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3685, allocations: 0 / 0.5514 GB, free: 9.781 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.849e-06/0.3685, allocations: 0 / 0.5514 GB, free: 9.781 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.001265/0.3698, allocations: 0.6301 MB / 0.5521 GB, free: 9.262 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.3698, allocations: 13.23 kB / 0.5521 GB, free: 9.258 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.163e-05/0.3699, allocations: 9.969 kB / 0.5521 GB, free: 9.258 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.86e-05/0.37, allocations: 84.08 kB / 0.5522 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006046/0.3706, allocations: 88.58 kB / 0.5523 GB, free: 9.137 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007071/0.3713, allocations: 347.4 kB / 0.5526 GB, free: 8.855 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.225e-05/0.3713, allocations: 26.5 kB / 0.5526 GB, free: 8.844 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001439/0.3714, allocations: 48.03 kB / 0.5527 GB, free: 8.824 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008632/0.3723, allocations: 474.6 kB / 0.5531 GB, free: 8.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.3723, allocations: 0 / 0.5531 GB, free: 8.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.438e-05/0.3724, allocations: 16.31 kB / 0.5531 GB, free: 8.508 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001197/0.3725, allocations: 28.33 kB / 0.5531 GB, free: 8.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000595/0.3731, allocations: 345.5 kB / 0.5535 GB, free: 8.332 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002455/0.3755, allocations: 1.46 MB / 0.5549 GB, free: 7.152 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00035/0.3759, allocations: 155.9 kB / 0.5551 GB, free: 7.039 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000165/0.3761, allocations: 94.67 kB / 0.5551 GB, free: 6.984 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.3761, allocations: 6.25 kB / 0.5551 GB, free: 6.98 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.605e-05/0.3761, allocations: 40.56 kB / 0.5552 GB, free: 6.934 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.723e-06/0.3761, allocations: 0 / 0.5552 GB, free: 6.934 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001572/0.3777, allocations: 0.7098 MB / 0.5559 GB, free: 6.449 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.902e-05/0.3778, allocations: 87.56 kB / 0.556 GB, free: 6.348 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003336/0.3781, allocations: 305.6 kB / 0.5563 GB, free: 6.102 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.3781, allocations: 29.7 kB / 0.5563 GB, free: 6.066 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/0.3783, allocations: 248.1 kB / 0.5565 GB, free: 5.816 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.499e-05/0.3784, allocations: 71.42 kB / 0.5566 GB, free: 5.746 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.3785, allocations: 57.97 kB / 0.5566 GB, free: 5.68 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.3787, allocations: 342.8 kB / 0.557 GB, free: 5.336 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.3788, allocations: 92.22 kB / 0.5571 GB, free: 5.246 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002549/0.3791, allocations: 205.3 kB / 0.5573 GB, free: 5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004171/0.3795, allocations: 314.9 kB / 0.5576 GB, free: 4.648 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3795, allocations: 3.938 kB / 0.5576 GB, free: 4.645 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009103/0.3804, allocations: 442 kB / 0.558 GB, free: 4.203 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.3804, allocations: 8 kB / 0.558 GB, free: 4.195 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006099/0.381, allocations: 291.6 kB / 0.5583 GB, free: 3.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005042/0.3815, allocations: 128.7 kB / 0.5584 GB, free: 3.781 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002084/0.3817, allocations: 55.94 kB / 0.5584 GB, free: 3.727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002973/0.3847, allocations: 2.257 MB / 0.5606 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002166/0.3849, allocations: 15.92 kB / 0.5607 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/0.385, allocations: 12 kB / 0.5607 GB, free: 1.332 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.0002522/0.3852, allocations: 185.7 kB / 0.5608 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.343e-05/0.3853, allocations: 35.75 kB / 0.5609 GB, free: 1.105 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004626/0.3857, allocations: 249.3 kB / 0.5611 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.85e-06/0.3857, allocations: 3.938 kB / 0.5611 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.3857, allocations: 4 kB / 0.5611 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3857, allocations: 0 / 0.5611 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00114/0.3869, allocations: 0.6717 MB / 0.5618 GB, free: 116 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.3869, allocations: 0 / 0.5618 GB, free: 116 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000228/0.3871, allocations: 43.97 kB / 0.5618 GB, free: 72 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001042/0.3872, allocations: 24.84 kB / 0.5618 GB, free: 44 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.3872, allocations: 8.062 kB / 0.5619 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001339/0.3886, allocations: 1.481 MB / 0.5633 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.3886, allocations: 0 / 0.5633 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005633/0.3891, allocations: 421.6 kB / 0.5637 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.79e-05/0.3892, allocations: 31.75 kB / 0.5637 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.45e-05/0.3892, allocations: 12.03 kB / 0.5637 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.3894, allocations: 4 kB / 0.5638 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.162e-05/0.3894, allocations: 15.97 kB / 0.5638 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.3895, allocations: 8 kB / 0.5638 GB, free: 13.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000228/0.3897, allocations: 215 kB / 0.564 GB, free: 13.72 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3897, allocations: 0 / 0.564 GB, free: 13.72 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004943/0.3902, allocations: 88 kB / 0.5641 GB, free: 13.64 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.0009025/0.3911, allocations: 0.9654 MB / 0.565 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007355/0.3918, allocations: 394 kB / 0.5654 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/0.3918, allocations: 0.875 kB / 0.5654 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003471/0.3922, allocations: 227.5 kB / 0.5656 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004995/0.3927, allocations: 86.59 kB / 0.5657 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004903/0.3976, allocations: 3.504 MB / 0.5691 GB, free: 8.223 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.3978, allocations: 240.9 kB / 0.5693 GB, free: 7.965 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001861/0.398, allocations: 66.92 kB / 0.5694 GB, free: 7.898 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000183/0.3982, allocations: 127.4 kB / 0.5695 GB, free: 7.773 MB / 414.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3982, allocations: 0 / 0.5695 GB, free: 7.773 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03465/0.4329, allocations: 7.784 MB / 0.5771 GB, free: 180 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.45/13.88, allocations: 6.922 kB / 0.5771 GB, free: 176 kB / 414.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.73984702397138] Failed to read output from testmodel.py, exit status != 0: 14.057411264046095 14.081461004 13.70805861 Calling exit ...