Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.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.Elementary.Source,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Source",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Source,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Source",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.001165/0.001165, allocations: 179.6 kB / 8.351 MB, free: 0.7227 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.745/1.745, allocations: 194.4 MB / 203.1 MB, free: 13.03 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.001745/0.001745, allocations: 105.6 kB / 248.1 MB, free: 32 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.177/0.177, allocations: 37.93 MB / 330.9 MB, free: 2.648 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.274e-05/2.276e-05, allocations: 4 kB / 390.5 MB, free: 6.992 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3281, allocations: 53.22 MB / 443.7 MB, free: 17.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1363/0.4644, allocations: 95.64 MB / 0.5267 GB, free: 1.902 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00029/0.4647, allocations: 83.95 kB / 0.5268 GB, free: 1.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3171/0.7818, allocations: 14.96 MB / 0.5414 GB, free: 87.83 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.7819, allocations: 0 / 0.5414 GB, free: 87.83 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.255e-05/0.782, allocations: 7.844 kB / 0.5414 GB, free: 87.83 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001338/0.7833, allocations: 0.6869 MB / 0.5421 GB, free: 87.21 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/0.7834, allocations: 8.031 kB / 0.5421 GB, free: 87.21 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006595/0.784, allocations: 91.28 kB / 0.5422 GB, free: 87.12 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002056/0.7861, allocations: 0.852 MB / 0.543 GB, free: 86.24 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.7862, allocations: 12 kB / 0.543 GB, free: 86.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.234e-05/0.7862, allocations: 24 kB / 0.543 GB, free: 86.2 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006379/0.7869, allocations: 473.8 kB / 0.5435 GB, free: 85.74 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007419/0.7876, allocations: 0.6169 MB / 0.5441 GB, free: 85.08 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.7877, allocations: 4 kB / 0.5441 GB, free: 85.08 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.036e-05/0.7877, allocations: 0 / 0.5441 GB, free: 85.08 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001321/0.7878, allocations: 56.73 kB / 0.5441 GB, free: 85.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003016/0.7909, allocations: 2.537 MB / 0.5466 GB, free: 82.38 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004048/0.7913, allocations: 329.4 kB / 0.5469 GB, free: 82.04 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002348/0.7915, allocations: 233.7 kB / 0.5471 GB, free: 81.8 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.385e-05/0.7916, allocations: 7.906 kB / 0.5472 GB, free: 81.8 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.7916, allocations: 42.5 kB / 0.5472 GB, free: 81.75 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 1.994e-06/0.7916, allocations: 0 / 0.5472 GB, free: 81.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=44): time 0.002541/0.7942, allocations: 1.531 MB / 0.5487 GB, free: 80.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/0.7942, allocations: 81.11 kB / 0.5488 GB, free: 80.06 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002058/0.7944, allocations: 222.2 kB / 0.549 GB, free: 79.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.7945, allocations: 25.7 kB / 0.549 GB, free: 79.8 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.875e-05/0.7946, allocations: 244.4 kB / 0.5492 GB, free: 79.56 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.428e-05/0.7947, allocations: 145.9 kB / 0.5494 GB, free: 79.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.877e-05/0.7947, allocations: 0 / 0.5494 GB, free: 79.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.613e-05/0.7948, allocations: 347.7 kB / 0.5497 GB, free: 79.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002133/0.795, allocations: 204.9 kB / 0.5499 GB, free: 78.87 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002547/0.7952, allocations: 337.8 kB / 0.5502 GB, free: 78.49 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006651/0.7959, allocations: 364 kB / 0.5506 GB, free: 78.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.7959, allocations: 0 / 0.5506 GB, free: 78.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001278/0.7972, allocations: 0.7834 MB / 0.5513 GB, free: 77.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.7973, allocations: 4 kB / 0.5513 GB, free: 77.33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000984/0.7982, allocations: 0.6204 MB / 0.5519 GB, free: 76.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003723/0.7986, allocations: 117.8 kB / 0.5521 GB, free: 76.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002931/0.7989, allocations: 71.89 kB / 0.5521 GB, free: 76.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002056/0.801, allocations: 2.88 MB / 0.5549 GB, free: 73.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003118/0.8013, allocations: 23.92 kB / 0.555 GB, free: 73.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.705e-05/0.8014, allocations: 16 kB / 0.555 GB, free: 73.37 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 38 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001133/0.8015, allocations: 121.1 kB / 0.5551 GB, free: 73.25 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009132/0.8024, allocations: 0.5749 MB / 0.5557 GB, free: 72.67 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.045e-05/0.8025, allocations: 35.52 kB / 0.5557 GB, free: 72.63 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009582/0.8034, allocations: 0.6176 MB / 0.5563 GB, free: 72.01 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-05/0.8035, allocations: 28.02 kB / 0.5563 GB, free: 71.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.8035, allocations: 7.953 kB / 0.5563 GB, free: 71.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/0.8035, allocations: 3.984 kB / 0.5563 GB, free: 71.97 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001635/0.8052, allocations: 1.153 MB / 0.5575 GB, free: 70.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.8052, allocations: 0 / 0.5575 GB, free: 70.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003927/0.8056, allocations: 75.88 kB / 0.5575 GB, free: 70.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.635e-06/0.8056, allocations: 7.953 kB / 0.5575 GB, free: 70.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.701e-05/0.8056, allocations: 4 kB / 0.5575 GB, free: 70.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.8057, allocations: 0 / 0.5575 GB, free: 70.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.8057, allocations: 0 / 0.5575 GB, free: 70.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.8068, allocations: 0.9886 MB / 0.5585 GB, free: 69.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001473/0.8069, allocations: 144.7 kB / 0.5586 GB, free: 69.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.8e-05/0.807, allocations: 3.984 kB / 0.5586 GB, free: 69.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002129/0.8072, allocations: 19.97 kB / 0.5587 GB, free: 69.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.04e-05/0.8072, allocations: 20.2 kB / 0.5587 GB, free: 69.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.25e-05/0.8073, allocations: 8 kB / 0.5587 GB, free: 69.45 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001633/0.8074, allocations: 178 kB / 0.5589 GB, free: 69.28 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.8075, allocations: 0 / 0.5589 GB, free: 69.28 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005765/0.808, allocations: 119.9 kB / 0.559 GB, free: 69.16 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * Array equations: 3 * 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.001448/0.8095, allocations: 1.777 MB / 0.5607 GB, free: 67.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009174/0.8104, allocations: 0.7314 MB / 0.5614 GB, free: 66.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.8104, allocations: 0 / 0.5614 GB, free: 66.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002385/0.8107, allocations: 248 kB / 0.5617 GB, free: 66.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003987/0.8111, allocations: 45.55 kB / 0.5617 GB, free: 66.29 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001768/0.8129, allocations: 1.022 MB / 0.5627 GB, free: 65.23 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003332/0.8132, allocations: 0.8859 MB / 0.5636 GB, free: 64.32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003031/0.8135, allocations: 115.2 kB / 0.5637 GB, free: 64.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002032/0.8137, allocations: 143.4 kB / 0.5638 GB, free: 64.06 MB / 378.7 MB Notification: Performance of SimCode: time 1.092e-06/0.8137, allocations: 0 / 0.5638 GB, free: 64.06 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02667/0.8404, allocations: 7.421 MB / 0.5711 GB, free: 56.64 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001582/0.8407, allocations: 138.2 kB / 0.5712 GB, free: 56.44 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.116/2.957, allocations: 0 / 0.5712 GB, free: 56.44 MB / 378.7 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Source_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Source.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1)