Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.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.LoadAC,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_LoadAC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_LoadAC",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.001398/0.001398, 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.475/1.475, allocations: 194.5 MB / 211.6 MB, free: 2.961 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.001566/0.001567, allocations: 116.3 kB / 256.9 MB, free: 4.32 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1657/0.1657, allocations: 37.99 MB / 340.1 MB, free: 1.336 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003457/0.0003455, allocations: 12 kB / 403.9 MB, free: 68.69 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08242/0.08278, allocations: 53.22 MB / 457.1 MB, free: 15.47 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2891/0.3719, allocations: 91.33 MB / 0.5356 GB, free: 3.805 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002345/0.3722, allocations: 96.44 kB / 0.5357 GB, free: 3.754 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02027/0.3925, allocations: 7.668 MB / 0.5432 GB, free: 13.16 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.707e-06/0.3925, allocations: 4 kB / 0.5432 GB, free: 13.16 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.481e-05/0.3925, allocations: 4 kB / 0.5432 GB, free: 13.15 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001267/0.3938, allocations: 0.6697 MB / 0.5438 GB, free: 12.46 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/0.3939, allocations: 12.02 kB / 0.5438 GB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.087e-05/0.394, allocations: 57.3 kB / 0.5439 GB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.27e-05/0.394, allocations: 43.53 kB / 0.5439 GB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001654/0.3957, allocations: 0.7316 MB / 0.5446 GB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.3957, allocations: 26.75 kB / 0.5447 GB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.716e-05/0.3958, allocations: 22.12 kB / 0.5447 GB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00051/0.3963, allocations: 360.6 kB / 0.545 GB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.3963, allocations: 4 kB / 0.545 GB, free: 11.35 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.842e-05/0.3964, allocations: 11.05 kB / 0.545 GB, free: 11.35 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.918e-06/0.3964, allocations: 8 kB / 0.5451 GB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004417/0.3968, allocations: 256.1 kB / 0.5453 GB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001766/0.3986, allocations: 1.445 MB / 0.5467 GB, free: 9.777 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002508/0.3989, allocations: 150.5 kB / 0.5469 GB, free: 9.648 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.3989, allocations: 0 / 0.5469 GB, free: 9.648 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.3989, allocations: 41.94 kB / 0.5469 GB, free: 9.602 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 6.933e-06/0.399, allocations: 0 / 0.5469 GB, free: 9.602 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.00117/0.4001, allocations: 0.6785 MB / 0.5476 GB, free: 8.973 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.429e-05/0.4002, allocations: 77.11 kB / 0.5476 GB, free: 8.879 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002793/0.4005, allocations: 266 kB / 0.5479 GB, free: 8.656 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.4005, allocations: 28.83 kB / 0.5479 GB, free: 8.625 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.4007, allocations: 220.8 kB / 0.5481 GB, free: 8.441 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.87e-05/0.4007, allocations: 60.25 kB / 0.5482 GB, free: 8.391 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.134e-05/0.4008, allocations: 7.438 kB / 0.5482 GB, free: 8.387 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.4009, allocations: 333.7 kB / 0.5485 GB, free: 8.062 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.401, allocations: 66.64 kB / 0.5486 GB, free: 8.016 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001831/0.4012, allocations: 166.1 kB / 0.5487 GB, free: 7.832 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.4014, allocations: 93.55 kB / 0.5488 GB, free: 7.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.4014, allocations: 4 kB / 0.5488 GB, free: 7.766 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004257/0.4018, allocations: 286.3 kB / 0.5491 GB, free: 7.531 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/0.4018, allocations: 8 kB / 0.5491 GB, free: 7.523 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.4019, allocations: 4 kB / 0.5491 GB, free: 7.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/0.4019, allocations: 4 kB / 0.5491 GB, free: 7.516 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002807/0.4022, allocations: 59.59 kB / 0.5492 GB, free: 7.461 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/0.4022, allocations: 7.984 kB / 0.5492 GB, free: 7.453 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/0.4024, allocations: 15.72 kB / 0.5492 GB, free: 7.441 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.354e-05/0.4024, allocations: 12.33 kB / 0.5492 GB, free: 7.43 MB / 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): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002238/0.4026, allocations: 170.6 kB / 0.5494 GB, free: 7.273 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.975e-05/0.4027, allocations: 31.3 kB / 0.5494 GB, free: 7.246 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004292/0.4031, allocations: 238 kB / 0.5496 GB, free: 7.066 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.4032, allocations: 4 kB / 0.5496 GB, free: 7.062 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.4032, allocations: 0 / 0.5496 GB, free: 7.062 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.4032, allocations: 0 / 0.5496 GB, free: 7.062 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009191/0.4041, allocations: 0.6227 MB / 0.5502 GB, free: 6.488 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.4041, allocations: 3.953 kB / 0.5502 GB, free: 6.484 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002113/0.4043, allocations: 35.98 kB / 0.5503 GB, free: 6.449 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.4043, allocations: 3.938 kB / 0.5503 GB, free: 6.445 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.875e-05/0.4044, allocations: 19.55 kB / 0.5503 GB, free: 6.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.4044, allocations: 0 / 0.5503 GB, free: 6.43 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.4044, allocations: 0 / 0.5503 GB, free: 6.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005865/0.405, allocations: 451.8 kB / 0.5507 GB, free: 6.039 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.4051, allocations: 108.7 kB / 0.5508 GB, free: 5.914 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.041e-05/0.4052, allocations: 7.562 kB / 0.5508 GB, free: 5.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/0.4053, allocations: 11.36 kB / 0.5508 GB, free: 5.902 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.24e-05/0.4054, allocations: 7.984 kB / 0.5509 GB, free: 5.895 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.4054, allocations: 7.562 kB / 0.5509 GB, free: 5.891 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002141/0.4056, allocations: 212.7 kB / 0.5511 GB, free: 5.719 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4056, allocations: 0 / 0.5511 GB, free: 5.719 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003705/0.406, allocations: 58.38 kB / 0.5511 GB, free: 5.668 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (zLoadAC.psi) * 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 (20): * Single equations (assignments): 19 * 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.001118/0.4071, allocations: 1.141 MB / 0.5522 GB, free: 4.578 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004828/0.4076, allocations: 178.5 kB / 0.5524 GB, free: 4.441 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.4076, allocations: 0 / 0.5524 GB, free: 4.441 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001646/0.4078, allocations: 94.11 kB / 0.5525 GB, free: 4.371 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004938/0.4083, allocations: 66.12 kB / 0.5526 GB, free: 4.324 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003905/0.4122, allocations: 3.948 MB / 0.5564 GB, free: 492 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005207/0.4128, allocations: 0.8252 MB / 0.5572 GB, free: 15.64 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002346/0.413, allocations: 50.95 kB / 0.5573 GB, free: 15.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000165/0.4132, allocations: 109.6 kB / 0.5574 GB, free: 15.55 MB / 378.7 MB Notification: Performance of SimCode: time 1.253e-06/0.4132, allocations: 0 / 0.5574 GB, free: 15.55 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01899/0.4322, allocations: 5.612 MB / 0.5628 GB, free: 9.961 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002281/0.4325, allocations: 176.7 kB / 0.563 GB, free: 9.719 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.927/2.359, allocations: 0 / 0.563 GB, free: 9.719 MB / 378.7 MB (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_LoadAC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_LoadAC.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe 2>&1)