Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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.Transmission.PowerTransfer,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer",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.001281/0.001281, allocations: 180.3 kB / 8.353 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.769/1.769, allocations: 194.3 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.001773/0.001773, allocations: 123.9 kB / 248.1 MB, free: 28 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1717/0.1717, allocations: 37.93 MB / 330.9 MB, free: 2.645 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.812e-05/1.842e-05, allocations: 0 / 390.5 MB, free: 7.008 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3219, allocations: 53.23 MB / 443.7 MB, free: 17.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.126/0.448, allocations: 90.06 MB / 0.5212 GB, free: 7.488 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/0.4483, allocations: 83.95 kB / 0.5213 GB, free: 7.406 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2972/0.7454, allocations: 12.76 MB / 0.5338 GB, free: 88.13 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.7455, allocations: 0 / 0.5338 GB, free: 88.13 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.619e-05/0.7455, allocations: 7.656 kB / 0.5338 GB, free: 88.13 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0009968/0.7465, allocations: 0.6268 MB / 0.5344 GB, free: 87.65 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.7466, allocations: 9.031 kB / 0.5344 GB, free: 87.65 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007128/0.7473, allocations: 101.3 kB / 0.5345 GB, free: 87.62 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00231/0.7496, allocations: 0.8644 MB / 0.5353 GB, free: 87.35 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.785e-05/0.7497, allocations: 10.97 kB / 0.5354 GB, free: 87.35 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.991e-05/0.7498, allocations: 24.34 kB / 0.5354 GB, free: 87.35 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005795/0.7504, allocations: 265.5 kB / 0.5356 GB, free: 87.35 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006663/0.751, allocations: 415.8 kB / 0.536 GB, free: 87.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.7511, allocations: 0 / 0.536 GB, free: 87.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.109e-05/0.7511, allocations: 1.344 kB / 0.536 GB, free: 87.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.564e-05/0.7512, allocations: 21.12 kB / 0.536 GB, free: 87.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002084/0.7532, allocations: 1.55 MB / 0.5376 GB, free: 86.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003268/0.7536, allocations: 168.5 kB / 0.5377 GB, free: 86.17 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001275/0.7537, allocations: 102.5 kB / 0.5378 GB, free: 86.12 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.7538, allocations: 5.547 kB / 0.5378 GB, free: 86.12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.7538, allocations: 37.81 kB / 0.5379 GB, free: 86.08 MB / 378.7 MB Notification: Performance of pre-optimization done (n=19): time 1.824e-06/0.7538, allocations: 0 / 0.5379 GB, free: 86.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.0009845/0.7548, allocations: 0.6684 MB / 0.5385 GB, free: 85.61 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.7548, allocations: 79.83 kB / 0.5386 GB, free: 85.52 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002175/0.7551, allocations: 250.3 kB / 0.5388 GB, free: 85.36 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.7551, allocations: 25.7 kB / 0.5389 GB, free: 85.33 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.7552, allocations: 251.4 kB / 0.5391 GB, free: 85.13 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.764e-05/0.7553, allocations: 77.67 kB / 0.5392 GB, free: 85.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.526e-05/0.7553, allocations: 0 / 0.5392 GB, free: 85.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.946e-05/0.7554, allocations: 341.8 kB / 0.5395 GB, free: 84.74 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.7555, allocations: 94.28 kB / 0.5396 GB, free: 84.71 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/0.7557, allocations: 180.5 kB / 0.5398 GB, free: 84.55 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.7558, allocations: 123 kB / 0.5399 GB, free: 84.51 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.7558, allocations: 10.48 kB / 0.5399 GB, free: 84.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000649/0.7565, allocations: 390.8 kB / 0.5403 GB, free: 84.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.7565, allocations: 6.156 kB / 0.5403 GB, free: 84.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003887/0.7569, allocations: 241.9 kB / 0.5405 GB, free: 84.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003074/0.7572, allocations: 74.92 kB / 0.5406 GB, free: 84.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002343/0.7575, allocations: 63.88 kB / 0.5406 GB, free: 84.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001111/0.7586, allocations: 1.523 MB / 0.5421 GB, free: 82.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001825/0.7588, allocations: 11.17 kB / 0.5421 GB, free: 82.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/0.7588, allocations: 22.92 kB / 0.5421 GB, free: 82.88 MB / 378.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.427e-05/0.7589, allocations: 116.8 kB / 0.5423 GB, free: 82.76 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002712/0.7592, allocations: 214.3 kB / 0.5425 GB, free: 82.67 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.439e-05/0.7592, allocations: 30.09 kB / 0.5425 GB, free: 82.65 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003284/0.7596, allocations: 247.6 kB / 0.5427 GB, free: 82.55 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.7596, allocations: 0 / 0.5427 GB, free: 82.55 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.7596, allocations: 2.656 kB / 0.5427 GB, free: 82.55 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.7596, allocations: 0 / 0.5427 GB, free: 82.55 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008972/0.7605, allocations: 0.674 MB / 0.5434 GB, free: 82.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.7605, allocations: 0 / 0.5434 GB, free: 82.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002569/0.7608, allocations: 52.16 kB / 0.5434 GB, free: 82.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/0.7608, allocations: 0 / 0.5434 GB, free: 82.13 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/0.7608, allocations: 3.906 kB / 0.5434 GB, free: 82.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.7608, allocations: 0 / 0.5434 GB, free: 82.13 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.7608, allocations: 3.812 kB / 0.5434 GB, free: 82.13 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004663/0.7613, allocations: 470.1 kB / 0.5439 GB, free: 81.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.364e-05/0.7614, allocations: 111.2 kB / 0.544 GB, free: 81.69 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.932e-05/0.7614, allocations: 6.891 kB / 0.544 GB, free: 81.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/0.7616, allocations: 7.25 kB / 0.544 GB, free: 81.69 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.963e-05/0.7616, allocations: 15.14 kB / 0.544 GB, free: 81.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.7616, allocations: 7.844 kB / 0.544 GB, free: 81.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001319/0.7618, allocations: 194.4 kB / 0.5442 GB, free: 81.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7618, allocations: 0 / 0.5442 GB, free: 81.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004067/0.7622, allocations: 89.72 kB / 0.5443 GB, free: 81.56 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 22 * 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.0006435/0.7629, allocations: 1.22 MB / 0.5455 GB, free: 80.51 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004741/0.7633, allocations: 341.9 kB / 0.5458 GB, free: 80.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.7634, allocations: 8.125 kB / 0.5458 GB, free: 80.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.7635, allocations: 94.42 kB / 0.5459 GB, free: 80.29 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.7638, allocations: 53.03 kB / 0.546 GB, free: 80.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.765, allocations: 0.7928 MB / 0.5467 GB, free: 79.82 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.7653, allocations: 0.8571 MB / 0.5476 GB, free: 79.1 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001953/0.7655, allocations: 76.88 kB / 0.5477 GB, free: 79.08 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/0.7656, allocations: 130.7 kB / 0.5478 GB, free: 78.98 MB / 378.7 MB Notification: Performance of SimCode: time 3.81e-07/0.7656, allocations: 0 / 0.5478 GB, free: 78.98 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02429/0.7899, allocations: 6.248 MB / 0.5539 GB, free: 73.6 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001525/0.7902, allocations: 145 kB / 0.554 GB, free: 73.4 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.073/2.863, allocations: 3.938 kB / 0.554 GB, free: 73.4 MB / 378.7 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1)