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/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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001002/0.001002, allocations: 179.7 kB / 16.38 MB, free: 5.762 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.301/1.301, allocations: 194.5 MB / 211.6 MB, free: 3.055 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.00165/0.00165, allocations: 110 kB / 256.9 MB, free: 4.352 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1692/0.1692, allocations: 38 MB / 340.1 MB, free: 1.355 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003575/0.0003575, allocations: 12 kB / 403.9 MB, free: 68.7 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08663/0.08701, allocations: 53.23 MB / 457.1 MB, free: 15.46 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3258/0.4129, allocations: 91.35 MB / 0.5356 GB, free: 3.934 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001791/0.4131, allocations: 89.7 kB / 0.5357 GB, free: 3.887 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03051/0.4436, allocations: 12.52 MB / 0.5479 GB, free: 9.129 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4436, allocations: 4 kB / 0.5479 GB, free: 9.125 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.047e-05/0.4437, allocations: 8 kB / 0.5479 GB, free: 9.117 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.001031/0.4447, allocations: 0.6642 MB / 0.5486 GB, free: 8.438 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.4447, allocations: 16.02 kB / 0.5486 GB, free: 8.422 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.911e-05/0.4448, allocations: 80.62 kB / 0.5487 GB, free: 8.355 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005505/0.4454, allocations: 91.38 kB / 0.5488 GB, free: 8.266 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001987/0.4474, allocations: 0.8663 MB / 0.5496 GB, free: 7.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.4474, allocations: 27.84 kB / 0.5496 GB, free: 7.484 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.101e-05/0.4475, allocations: 38.36 kB / 0.5497 GB, free: 7.457 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006315/0.4481, allocations: 475 kB / 0.5501 GB, free: 7.094 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.4481, allocations: 0 / 0.5501 GB, free: 7.094 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.316e-05/0.4482, allocations: 18.19 kB / 0.5501 GB, free: 7.086 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.524e-05/0.4482, allocations: 24.92 kB / 0.5502 GB, free: 7.062 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004631/0.4487, allocations: 349.5 kB / 0.5505 GB, free: 6.824 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00204/0.4507, allocations: 1.717 MB / 0.5522 GB, free: 5.242 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000241/0.451, allocations: 149.3 kB / 0.5523 GB, free: 5.117 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.451, allocations: 4.062 kB / 0.5523 GB, free: 5.113 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.4511, allocations: 38.5 kB / 0.5524 GB, free: 5.066 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.412e-06/0.4511, allocations: 0 / 0.5524 GB, free: 5.066 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.00136/0.4524, allocations: 0.8889 MB / 0.5532 GB, free: 4.246 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.4525, allocations: 85.17 kB / 0.5533 GB, free: 4.145 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002738/0.4528, allocations: 284.4 kB / 0.5536 GB, free: 3.898 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.189e-05/0.4528, allocations: 29.08 kB / 0.5536 GB, free: 3.867 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.453, allocations: 252.9 kB / 0.5538 GB, free: 3.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.651e-05/0.453, allocations: 61.16 kB / 0.5539 GB, free: 3.609 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.222e-05/0.453, allocations: 3.625 kB / 0.5539 GB, free: 3.609 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.4532, allocations: 345.3 kB / 0.5542 GB, free: 3.277 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.4533, allocations: 96.91 kB / 0.5543 GB, free: 3.211 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/0.4535, allocations: 199.6 kB / 0.5545 GB, free: 3.008 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001771/0.4537, allocations: 132.8 kB / 0.5546 GB, free: 2.926 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.4537, allocations: 4 kB / 0.5546 GB, free: 2.922 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008464/0.4546, allocations: 474 kB / 0.5551 GB, free: 2.555 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.4546, allocations: 11.94 kB / 0.5551 GB, free: 2.543 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006148/0.4552, allocations: 312.9 kB / 0.5554 GB, free: 2.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004878/0.4557, allocations: 144.8 kB / 0.5555 GB, free: 2.199 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001841/0.4559, allocations: 49.86 kB / 0.5556 GB, free: 2.152 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002528/0.4584, allocations: 2.252 MB / 0.5578 GB, free: 96 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001851/0.4586, allocations: 15.86 kB / 0.5578 GB, free: 84 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.235e-05/0.4587, allocations: 15.88 kB / 0.5578 GB, free: 72 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.0002285/0.4589, allocations: 184.5 kB / 0.558 GB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.342e-05/0.459, allocations: 35.61 kB / 0.558 GB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004097/0.4594, allocations: 269.7 kB / 0.5583 GB, free: 15.67 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.4594, allocations: 4 kB / 0.5583 GB, free: 15.67 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.4594, allocations: 0 / 0.5583 GB, free: 15.67 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.4594, allocations: 0 / 0.5583 GB, free: 15.67 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/0.4605, allocations: 0.7395 MB / 0.559 GB, free: 15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.4605, allocations: 4 kB / 0.559 GB, free: 15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002132/0.4607, allocations: 35.92 kB / 0.5591 GB, free: 14.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.453e-05/0.4608, allocations: 39.14 kB / 0.5591 GB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.4609, allocations: 11.17 kB / 0.5591 GB, free: 14.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.4609, allocations: 0 / 0.5591 GB, free: 14.92 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.4609, allocations: 4 kB / 0.5591 GB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005086/0.4614, allocations: 479.1 kB / 0.5596 GB, free: 14.49 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.977e-05/0.4615, allocations: 104 kB / 0.5597 GB, free: 14.37 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.579e-05/0.4615, allocations: 4 kB / 0.5597 GB, free: 14.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001549/0.4617, allocations: 15.08 kB / 0.5597 GB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.027e-05/0.4617, allocations: 15.98 kB / 0.5597 GB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.4617, allocations: 6.875 kB / 0.5597 GB, free: 14.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002012/0.4619, allocations: 220.5 kB / 0.5599 GB, free: 14.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4619, allocations: 0 / 0.5599 GB, free: 14.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004526/0.4624, allocations: 94.94 kB / 0.56 GB, free: 14.07 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): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009577/0.4634, allocations: 1.236 MB / 0.5612 GB, free: 12.88 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006536/0.464, allocations: 409.5 kB / 0.5616 GB, free: 12.55 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4641, allocations: 0 / 0.5616 GB, free: 12.55 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001929/0.4643, allocations: 180.7 kB / 0.5618 GB, free: 12.38 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003205/0.4646, allocations: 54.12 kB / 0.5618 GB, free: 12.33 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003809/0.4684, allocations: 4.481 MB / 0.5662 GB, free: 8.031 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004242/0.4688, allocations: 0.8587 MB / 0.567 GB, free: 7.164 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001891/0.469, allocations: 62.94 kB / 0.5671 GB, free: 7.105 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.4692, allocations: 125.4 kB / 0.5672 GB, free: 7.07 MB / 378.7 MB Notification: Performance of SimCode: time 6.52e-07/0.4692, allocations: 0 / 0.5672 GB, free: 7.07 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02032/0.4895, allocations: 7.204 MB / 0.5743 GB, free: 15.88 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001662/0.4897, allocations: 206.9 kB / 0.5745 GB, free: 15.64 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.066/2.555, allocations: 4 kB / 0.5745 GB, free: 15.64 MB / 394.7 MB (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/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Generation_PQsource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Generation_PQsource.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1)