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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001578/0.001578, allocations: 178.5 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.288/1.288, allocations: 194.5 MB / 211.6 MB, free: 3.059 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001619/0.001619, allocations: 108.8 kB / 256.9 MB, free: 4.371 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1659/0.1659, allocations: 38 MB / 340.1 MB, free: 1.355 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003293/0.0003292, allocations: 8 kB / 403.9 MB, free: 68.7 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08924/0.08958, allocations: 53.24 MB / 457.1 MB, free: 15.45 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3279/0.4176, allocations: 91.53 MB / 0.5358 GB, free: 3.746 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001871/0.4178, allocations: 92.52 kB / 0.5359 GB, free: 3.699 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03114/0.449, allocations: 12.53 MB / 0.5481 GB, free: 8.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.449, allocations: 0 / 0.5481 GB, free: 8.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.13e-05/0.449, allocations: 11.98 kB / 0.5481 GB, free: 8.918 MB / 362.7 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.00105/0.4501, allocations: 0.6689 MB / 0.5488 GB, free: 8.234 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.4501, allocations: 16.02 kB / 0.5488 GB, free: 8.219 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.879e-05/0.4502, allocations: 70.53 kB / 0.5489 GB, free: 8.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005641/0.4508, allocations: 95.36 kB / 0.5489 GB, free: 8.066 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001965/0.4528, allocations: 0.8654 MB / 0.5498 GB, free: 7.301 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.511e-05/0.4528, allocations: 27.06 kB / 0.5498 GB, free: 7.285 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.129e-05/0.4529, allocations: 34.56 kB / 0.5499 GB, free: 7.262 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006407/0.4535, allocations: 470.8 kB / 0.5503 GB, free: 6.902 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.4536, allocations: 0 / 0.5503 GB, free: 6.902 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.978e-05/0.4536, allocations: 17.86 kB / 0.5503 GB, free: 6.895 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.599e-05/0.4537, allocations: 20.98 kB / 0.5503 GB, free: 6.875 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004583/0.4541, allocations: 333.5 kB / 0.5507 GB, free: 6.648 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002/0.4561, allocations: 1.702 MB / 0.5523 GB, free: 5.078 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002388/0.4564, allocations: 151.8 kB / 0.5525 GB, free: 4.949 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.4564, allocations: 10.55 kB / 0.5525 GB, free: 4.941 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.4565, allocations: 30.56 kB / 0.5525 GB, free: 4.902 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.413e-06/0.4565, allocations: 3.938 kB / 0.5525 GB, free: 4.898 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.001362/0.4578, allocations: 0.8505 MB / 0.5533 GB, free: 4.105 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.4579, allocations: 85.06 kB / 0.5534 GB, free: 4.004 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002634/0.4582, allocations: 275.4 kB / 0.5537 GB, free: 3.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.4582, allocations: 29.64 kB / 0.5537 GB, free: 3.734 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/0.4583, allocations: 248.5 kB / 0.5539 GB, free: 3.531 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.081e-05/0.4584, allocations: 76.5 kB / 0.554 GB, free: 3.469 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.19e-05/0.4584, allocations: 2.75 kB / 0.554 GB, free: 3.469 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.4586, allocations: 339.8 kB / 0.5543 GB, free: 3.141 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.4587, allocations: 89.59 kB / 0.5544 GB, free: 3.078 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001953/0.4589, allocations: 190.7 kB / 0.5546 GB, free: 2.883 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001777/0.4591, allocations: 131.6 kB / 0.5547 GB, free: 2.801 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4591, allocations: 0 / 0.5547 GB, free: 2.801 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007818/0.4599, allocations: 454 kB / 0.5552 GB, free: 2.449 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.4599, allocations: 8 kB / 0.5552 GB, free: 2.441 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000566/0.4605, allocations: 291.2 kB / 0.5555 GB, free: 2.234 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004557/0.4609, allocations: 130 kB / 0.5556 GB, free: 2.125 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001957/0.4612, allocations: 49.8 kB / 0.5556 GB, free: 2.078 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002565/0.4637, allocations: 2.214 MB / 0.5578 GB, free: 44 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00018/0.4639, allocations: 17.31 kB / 0.5578 GB, free: 32 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.185e-05/0.4639, allocations: 12 kB / 0.5578 GB, free: 20 kB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002133/0.4642, allocations: 185.7 kB / 0.558 GB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.197e-05/0.4642, allocations: 27.62 kB / 0.558 GB, free: 15.83 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003824/0.4646, allocations: 251 kB / 0.5583 GB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.4646, allocations: 7.953 kB / 0.5583 GB, free: 15.63 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.4646, allocations: 0 / 0.5583 GB, free: 15.63 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.4646, allocations: 3.984 kB / 0.5583 GB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/0.4657, allocations: 0.7168 MB / 0.559 GB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.4657, allocations: 4.062 kB / 0.559 GB, free: 14.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002072/0.4659, allocations: 35.92 kB / 0.559 GB, free: 14.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.346e-05/0.466, allocations: 35.7 kB / 0.559 GB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.4661, allocations: 7.688 kB / 0.559 GB, free: 14.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001081/0.4671, allocations: 1.495 MB / 0.5605 GB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.4672, allocations: 0 / 0.5605 GB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004924/0.4677, allocations: 458.4 kB / 0.5609 GB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.87e-05/0.4678, allocations: 108.7 kB / 0.5611 GB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.401e-05/0.4678, allocations: 7.938 kB / 0.5611 GB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/0.468, allocations: 11.98 kB / 0.5611 GB, free: 12.81 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.973e-05/0.468, allocations: 15.92 kB / 0.5611 GB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.468, allocations: 4 kB / 0.5611 GB, free: 12.79 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001906/0.4682, allocations: 212.6 kB / 0.5613 GB, free: 12.62 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4682, allocations: 0 / 0.5613 GB, free: 12.62 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004386/0.4687, allocations: 103.5 kB / 0.5614 GB, free: 12.53 MB / 378.7 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008308/0.4695, allocations: 1.203 MB / 0.5626 GB, free: 11.36 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006465/0.4702, allocations: 399.3 kB / 0.5629 GB, free: 11.03 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.4702, allocations: 0 / 0.5629 GB, free: 11.03 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002927/0.4705, allocations: 234.7 kB / 0.5632 GB, free: 10.81 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.4708, allocations: 74.28 kB / 0.5632 GB, free: 10.76 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003562/0.4744, allocations: 4.454 MB / 0.5676 GB, free: 6.477 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000409/0.4748, allocations: 0.8489 MB / 0.5684 GB, free: 5.617 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000182/0.475, allocations: 58.92 kB / 0.5685 GB, free: 5.559 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.4751, allocations: 123.4 kB / 0.5686 GB, free: 5.523 MB / 378.7 MB Notification: Performance of SimCode: time 3.81e-07/0.4751, allocations: 0 / 0.5686 GB, free: 5.523 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02011/0.4952, allocations: 7.277 MB / 0.5757 GB, free: 14.27 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00022/0.4955, allocations: 215.3 kB / 0.5759 GB, free: 14.02 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.985/2.48, allocations: 0 / 0.5759 GB, free: 14.02 MB / 394.7 MB (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/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Generation_PVsource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Generation_PVsource.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1)