Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.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.AC1ph_DC.Elementary.LoadDC,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC",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.001294/0.001294, allocations: 179.6 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.42/1.42, allocations: 194.5 MB / 211.6 MB, free: 3.047 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.001594/0.001594, allocations: 123.3 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.155/0.155, allocations: 38 MB / 340.1 MB, free: 1.352 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000317/0.0003169, allocations: 12 kB / 403.9 MB, free: 68.69 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09969/0.1, allocations: 53.22 MB / 457.1 MB, free: 15.46 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.338/0.438, allocations: 88.9 MB / 0.5332 GB, free: 6.254 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/0.4383, allocations: 91.08 kB / 0.5333 GB, free: 6.207 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01529/0.4536, allocations: 6.465 MB / 0.5396 GB, free: 0.6562 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4537, allocations: 0 / 0.5396 GB, free: 0.6562 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.726e-05/0.4537, allocations: 4 kB / 0.5396 GB, free: 0.6523 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007643/0.4545, allocations: 0.5806 MB / 0.5402 GB, free: 48 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.4545, allocations: 12.02 kB / 0.5402 GB, free: 36 kB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.133e-05/0.4546, allocations: 56.05 kB / 0.5402 GB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.237e-05/0.4547, allocations: 35.56 kB / 0.5403 GB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001458/0.4561, allocations: 0.6595 MB / 0.5409 GB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.4562, allocations: 18.56 kB / 0.5409 GB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001264/0.4563, allocations: 35.48 kB / 0.541 GB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004171/0.4567, allocations: 292.3 kB / 0.5413 GB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.4568, allocations: 0 / 0.5413 GB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.591e-05/0.4568, allocations: 11.25 kB / 0.5413 GB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.4568, allocations: 4 kB / 0.5413 GB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003262/0.4571, allocations: 190.5 kB / 0.5414 GB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001563/0.4587, allocations: 1.272 MB / 0.5427 GB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002722/0.459, allocations: 127 kB / 0.5428 GB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.459, allocations: 0 / 0.5428 GB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.4591, allocations: 38.61 kB / 0.5428 GB, free: 13.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.4591, allocations: 4 kB / 0.5429 GB, free: 13.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0009227/0.46, allocations: 0.5299 MB / 0.5434 GB, free: 12.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.077e-05/0.4601, allocations: 118.7 kB / 0.5435 GB, free: 12.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001936/0.4603, allocations: 207.3 kB / 0.5437 GB, free: 12.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.4603, allocations: 33.02 kB / 0.5437 GB, free: 12.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.4604, allocations: 192.2 kB / 0.5439 GB, free: 12.47 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.617e-05/0.4605, allocations: 46.33 kB / 0.5439 GB, free: 12.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.704e-06/0.4605, allocations: 0 / 0.5439 GB, free: 12.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.4607, allocations: 336.6 kB / 0.5443 GB, free: 12.1 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.261e-05/0.4607, allocations: 41.53 kB / 0.5443 GB, free: 12.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.4609, allocations: 139.5 kB / 0.5444 GB, free: 11.92 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.461, allocations: 55.25 kB / 0.5445 GB, free: 11.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.461, allocations: 0 / 0.5445 GB, free: 11.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003763/0.4614, allocations: 237.2 kB / 0.5447 GB, free: 11.69 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.4614, allocations: 11.94 kB / 0.5447 GB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.567e-06/0.4614, allocations: 4 kB / 0.5447 GB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001142/0.4616, allocations: 27.66 kB / 0.5448 GB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003856/0.462, allocations: 67.88 kB / 0.5448 GB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.462, allocations: 8.062 kB / 0.5448 GB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001271/0.4621, allocations: 7.438 kB / 0.5448 GB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.4621, allocations: 8 kB / 0.5448 GB, free: 11.56 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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 prepare postOptimizeDAE: time 0.0001503/0.4623, allocations: 151 kB / 0.545 GB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.234e-05/0.4624, allocations: 31.67 kB / 0.545 GB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002689/0.4626, allocations: 149.4 kB / 0.5452 GB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.4626, allocations: 4 kB / 0.5452 GB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.4627, allocations: 0 / 0.5452 GB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.4627, allocations: 4 kB / 0.5452 GB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003484/0.463, allocations: 294.7 kB / 0.5454 GB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.463, allocations: 0 / 0.5454 GB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001759/0.4632, allocations: 35.94 kB / 0.5455 GB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.4632, allocations: 4 kB / 0.5455 GB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.4632, allocations: 3.562 kB / 0.5455 GB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.4633, allocations: 3.938 kB / 0.5455 GB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4633, allocations: 4 kB / 0.5455 GB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00036/0.4636, allocations: 394.9 kB / 0.5459 GB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.863e-05/0.4637, allocations: 96.8 kB / 0.546 GB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.936e-05/0.4637, allocations: 4 kB / 0.546 GB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.4639, allocations: 3.312 kB / 0.546 GB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.216e-05/0.4639, allocations: 7.984 kB / 0.546 GB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.4639, allocations: 11.73 kB / 0.546 GB, free: 10.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001244/0.4641, allocations: 169.8 kB / 0.5462 GB, free: 10.29 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.523e-06/0.4641, allocations: 96 / 0.5462 GB, free: 10.29 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003273/0.4644, allocations: 63.19 kB / 0.5462 GB, free: 10.23 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pLoadDC.i,pLoadDC.L) * 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 (15): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006716/0.4651, allocations: 1.066 MB / 0.5473 GB, free: 9.188 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000297/0.4654, allocations: 218.9 kB / 0.5475 GB, free: 8.984 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4654, allocations: 0 / 0.5475 GB, free: 8.984 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.951e-05/0.4655, allocations: 59.73 kB / 0.5475 GB, free: 8.945 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.4658, allocations: 57.3 kB / 0.5476 GB, free: 8.898 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002723/0.4686, allocations: 3.543 MB / 0.551 GB, free: 5.402 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003885/0.469, allocations: 0.7781 MB / 0.5518 GB, free: 4.605 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001254/0.4691, allocations: 30.27 kB / 0.5518 GB, free: 4.578 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.4692, allocations: 89.22 kB / 0.5519 GB, free: 4.547 MB / 362.7 MB Notification: Performance of SimCode: time 6.91e-07/0.4692, allocations: 0 / 0.5519 GB, free: 4.547 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01599/0.4852, allocations: 4.539 MB / 0.5563 GB, free: 32 kB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001752/0.4855, allocations: 197.2 kB / 0.5565 GB, free: 15.79 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.783/2.269, allocations: 0 / 0.5565 GB, free: 15.79 MB / 378.7 MB (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe 2>&1)