Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.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.Impedance,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Impedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Impedance,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Impedance",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.001248/0.001248, allocations: 182.4 kB / 13.64 MB, free: 1.676 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.724/1.724, allocations: 194.3 MB / 208.4 MB, free: 6.707 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.001715/0.001715, allocations: 120.7 kB / 253.5 MB, free: 9.582 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1632/0.1632, allocations: 37.91 MB / 336.4 MB, free: 14.27 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 4.048e-05/4.058e-05, allocations: 4 kB / 397.6 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3805/0.3805, allocations: 53.22 MB / 450.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4587/0.8393, allocations: 95.86 MB / 0.5339 GB, free: 88.22 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003156/0.8397, allocations: 89.41 kB / 0.534 GB, free: 88.22 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03628/0.876, allocations: 12.56 MB / 0.5462 GB, free: 82.95 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.876, allocations: 4 kB / 0.5463 GB, free: 82.94 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.737e-05/0.8761, allocations: 15.94 kB / 0.5463 GB, free: 82.93 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001073/0.8772, allocations: 0.6643 MB / 0.5469 GB, free: 82.21 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.8772, allocations: 12.03 kB / 0.5469 GB, free: 82.2 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.71e-05/0.8773, allocations: 90.47 kB / 0.547 GB, free: 82.1 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005855/0.8779, allocations: 99.28 kB / 0.5471 GB, free: 82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001916/0.8798, allocations: 0.838 MB / 0.5479 GB, free: 81.12 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.8799, allocations: 29 kB / 0.548 GB, free: 81.1 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.818e-05/0.8799, allocations: 43.91 kB / 0.548 GB, free: 81.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008042/0.8808, allocations: 0.6212 MB / 0.5486 GB, free: 80.36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.463e-05/0.8808, allocations: 0 / 0.5486 GB, free: 80.36 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.358e-05/0.8808, allocations: 16 kB / 0.5486 GB, free: 80.35 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.937e-05/0.8809, allocations: 32.77 kB / 0.5487 GB, free: 80.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005862/0.8815, allocations: 442.7 kB / 0.5491 GB, free: 79.89 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00281/0.8843, allocations: 2.925 MB / 0.5519 GB, free: 76.81 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002608/0.8846, allocations: 189.1 kB / 0.5521 GB, free: 76.61 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/0.8848, allocations: 129.8 kB / 0.5522 GB, free: 76.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.546e-05/0.8848, allocations: 4 kB / 0.5522 GB, free: 76.47 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.8848, allocations: 42.5 kB / 0.5523 GB, free: 76.42 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 2.174e-06/0.8849, allocations: 4 kB / 0.5523 GB, free: 76.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=25): time 0.001361/0.8862, allocations: 0.864 MB / 0.5531 GB, free: 75.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.8863, allocations: 85.25 kB / 0.5532 GB, free: 75.39 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002575/0.8865, allocations: 290.6 kB / 0.5535 GB, free: 75.11 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.8866, allocations: 29.7 kB / 0.5535 GB, free: 75.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.8867, allocations: 287.1 kB / 0.5538 GB, free: 74.79 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.847e-05/0.8868, allocations: 102.6 kB / 0.5539 GB, free: 74.68 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.952e-05/0.8868, allocations: 8 kB / 0.5539 GB, free: 74.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.835e-05/0.8869, allocations: 342.8 kB / 0.5542 GB, free: 74.33 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001862/0.8871, allocations: 144.8 kB / 0.5544 GB, free: 74.19 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002511/0.8874, allocations: 321.2 kB / 0.5547 GB, free: 73.79 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002547/0.8876, allocations: 209.8 kB / 0.5549 GB, free: 73.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.8876, allocations: 0 / 0.5549 GB, free: 73.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008729/0.8885, allocations: 0.5744 MB / 0.5554 GB, free: 73.01 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/0.8886, allocations: 8 kB / 0.5554 GB, free: 73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004953/0.8891, allocations: 325.2 kB / 0.5557 GB, free: 72.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003283/0.8894, allocations: 84.78 kB / 0.5558 GB, free: 72.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003202/0.8897, allocations: 95.83 kB / 0.5559 GB, free: 72.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001351/0.8911, allocations: 1.585 MB / 0.5575 GB, free: 70.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002605/0.8914, allocations: 23.98 kB / 0.5575 GB, free: 70.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.314e-05/0.8914, allocations: 20 kB / 0.5575 GB, free: 70.73 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (48): * Single equations (assignments): 46 * Array equations: 1 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001268/0.8916, allocations: 136.6 kB / 0.5576 GB, free: 70.59 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.061e-05/0.8916, allocations: 39.48 kB / 0.5577 GB, free: 70.55 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005433/0.8922, allocations: 348.6 kB / 0.558 GB, free: 70.21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.429e-05/0.8922, allocations: 4 kB / 0.558 GB, free: 70.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.8922, allocations: 0 / 0.558 GB, free: 70.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/0.8922, allocations: 3.984 kB / 0.558 GB, free: 70.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001264/0.8935, allocations: 0.8642 MB / 0.5589 GB, free: 69.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.8935, allocations: 0 / 0.5589 GB, free: 69.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003236/0.8938, allocations: 67.83 kB / 0.5589 GB, free: 69.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.8939, allocations: 4 kB / 0.5589 GB, free: 69.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.422e-05/0.8939, allocations: 4.141 kB / 0.5589 GB, free: 69.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.8939, allocations: 0 / 0.5589 GB, free: 69.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.8939, allocations: 4 kB / 0.5589 GB, free: 69.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006269/0.8945, allocations: 0.5899 MB / 0.5595 GB, free: 68.56 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.596e-05/0.8946, allocations: 108.6 kB / 0.5596 GB, free: 68.44 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.207e-05/0.8947, allocations: 8 kB / 0.5596 GB, free: 68.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001804/0.8948, allocations: 24.02 kB / 0.5596 GB, free: 68.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.364e-05/0.8949, allocations: 19.94 kB / 0.5597 GB, free: 68.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.8949, allocations: 8 kB / 0.5597 GB, free: 68.38 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000212/0.8952, allocations: 218.2 kB / 0.5599 GB, free: 68.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.8952, allocations: 4 kB / 0.5599 GB, free: 68.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005208/0.8957, allocations: 108 kB / 0.56 GB, free: 68.05 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 (25): * Single equations (assignments): 23 * Array equations: 1 * 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.00102/0.8967, allocations: 1.344 MB / 0.5613 GB, free: 66.66 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008121/0.8975, allocations: 490.8 kB / 0.5618 GB, free: 66.17 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.8976, allocations: 0 / 0.5618 GB, free: 66.17 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001937/0.8978, allocations: 131.8 kB / 0.5619 GB, free: 66.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004373/0.8982, allocations: 66.23 kB / 0.562 GB, free: 65.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001769/0.9, allocations: 0.9106 MB / 0.5628 GB, free: 65.03 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004257/0.9004, allocations: 0.8737 MB / 0.5637 GB, free: 64.12 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003047/0.9007, allocations: 119.2 kB / 0.5638 GB, free: 64 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000214/0.901, allocations: 143.3 kB / 0.5639 GB, free: 63.86 MB / 378.7 MB Notification: Performance of SimCode: time 1.583e-06/0.901, allocations: 4 kB / 0.5639 GB, free: 63.86 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02804/0.929, allocations: 7.185 MB / 0.571 GB, free: 56.69 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001996/0.9293, allocations: 179.4 kB / 0.5711 GB, free: 56.45 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.275/3.204, allocations: 0 / 0.5711 GB, free: 56.45 MB / 378.7 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Impedance_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Impedance.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1)