Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,fileNamePrefix="PowerSystems_cpp_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.3+maint.om/package.mo): time 0.00213/0.00213, allocations: 185.7 kB / 8.01 MB, free: 1.062 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.174/2.174, allocations: 205.3 MB / 213.7 MB, free: 1.672 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00106/0.00106, allocations: 82.7 kB / 261.8 MB, free: 1.621 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2569/0.2569, allocations: 38 MB / 347.7 MB, free: 5.77 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.198e-05/2.21e-05, allocations: 4 kB / 409.9 MB, free: 35.04 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1104, allocations: 56.32 MB / 466.3 MB, free: 10.73 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4986/0.609, allocations: 95.11 MB / 0.5482 GB, free: 10.74 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002946/0.6094, allocations: 84.36 kB / 0.5483 GB, free: 10.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05312/0.6625, allocations: 12.78 MB / 0.5608 GB, free: 4.426 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.6626, allocations: 0 / 0.5608 GB, free: 4.426 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.462e-05/0.6626, allocations: 15.94 kB / 0.5608 GB, free: 4.41 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001258/0.6639, allocations: 0.6244 MB / 0.5614 GB, free: 3.766 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.6639, allocations: 8.031 kB / 0.5614 GB, free: 3.758 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001078/0.665, allocations: 102.2 kB / 0.5615 GB, free: 3.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003209/0.6683, allocations: 0.8612 MB / 0.5623 GB, free: 2.918 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.021e-05/0.6683, allocations: 8 kB / 0.5623 GB, free: 2.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.1e-05/0.6684, allocations: 20 kB / 0.5624 GB, free: 2.891 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007004/0.6691, allocations: 267.1 kB / 0.5626 GB, free: 2.723 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008062/0.67, allocations: 410.9 kB / 0.563 GB, free: 2.391 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.401e-05/0.67, allocations: 0 / 0.563 GB, free: 2.391 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.764e-05/0.6701, allocations: 7.953 kB / 0.563 GB, free: 2.383 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.015e-05/0.6701, allocations: 23.7 kB / 0.563 GB, free: 2.363 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002931/0.6731, allocations: 1.561 MB / 0.5646 GB, free: 0.9688 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003972/0.6735, allocations: 162.2 kB / 0.5647 GB, free: 0.8359 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002107/0.6737, allocations: 102.6 kB / 0.5648 GB, free: 0.7617 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.723e-05/0.6738, allocations: 3.953 kB / 0.5648 GB, free: 0.7578 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.6738, allocations: 42.12 kB / 0.5649 GB, free: 0.7109 MB / 362.7 MB Notification: Performance of pre-optimization done (n=19): time 2.475e-06/0.6738, allocations: 3.938 kB / 0.5649 GB, free: 0.707 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.001429/0.6753, allocations: 0.6791 MB / 0.5655 GB, free: 68 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.868e-05/0.6754, allocations: 81.11 kB / 0.5656 GB, free: 15.97 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000381/0.6758, allocations: 245.3 kB / 0.5658 GB, free: 15.76 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.148e-05/0.6758, allocations: 25.7 kB / 0.5659 GB, free: 15.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000224/0.676, allocations: 300.6 kB / 0.5662 GB, free: 15.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.895e-05/0.6761, allocations: 80.47 kB / 0.5662 GB, free: 15.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.827e-05/0.6762, allocations: 0 / 0.5662 GB, free: 15.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.6763, allocations: 325.4 kB / 0.5665 GB, free: 15.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002492/0.6766, allocations: 85.59 kB / 0.5666 GB, free: 15.03 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003457/0.677, allocations: 193.3 kB / 0.5668 GB, free: 14.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003253/0.6773, allocations: 130.6 kB / 0.5669 GB, free: 14.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/0.6773, allocations: 4 kB / 0.5669 GB, free: 14.74 MB / 378.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001175/0.6785, allocations: 370.6 kB / 0.5673 GB, free: 14.45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.6785, allocations: 8 kB / 0.5673 GB, free: 14.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007445/0.6793, allocations: 244.2 kB / 0.5675 GB, free: 14.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000528/0.6798, allocations: 77.47 kB / 0.5676 GB, free: 14.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004749/0.6803, allocations: 64.02 kB / 0.5677 GB, free: 14.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00247/0.6828, allocations: 1.524 MB / 0.5692 GB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000413/0.6833, allocations: 8.062 kB / 0.5692 GB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-05/0.6833, allocations: 15.5 kB / 0.5692 GB, free: 12.6 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 0.0001542/0.6835, allocations: 105.5 kB / 0.5693 GB, free: 12.49 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000596/0.6841, allocations: 223 kB / 0.5695 GB, free: 12.31 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.33e-05/0.6842, allocations: 27.67 kB / 0.5695 GB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006746/0.6849, allocations: 255.5 kB / 0.5698 GB, free: 12.1 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.6849, allocations: 4.031 kB / 0.5698 GB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.6849, allocations: 4 kB / 0.5698 GB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.685, allocations: 0 / 0.5698 GB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001728/0.6867, allocations: 0.6632 MB / 0.5704 GB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/0.6867, allocations: 0 / 0.5704 GB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005154/0.6873, allocations: 55.84 kB / 0.5705 GB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.124e-05/0.6873, allocations: 8.062 kB / 0.5705 GB, free: 11.44 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.262e-05/0.6873, allocations: 7.953 kB / 0.5705 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.6874, allocations: 0 / 0.5705 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.6874, allocations: 0 / 0.5705 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.6885, allocations: 473.4 kB / 0.5709 GB, free: 11.01 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003835/0.6889, allocations: 104.7 kB / 0.571 GB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002752/0.6892, allocations: 4.031 kB / 0.571 GB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008033/0.6901, allocations: 4 kB / 0.571 GB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.042e-05/0.6901, allocations: 15.48 kB / 0.5711 GB, free: 10.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.433e-05/0.6902, allocations: 7.953 kB / 0.5711 GB, free: 10.86 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003299/0.6905, allocations: 196.3 kB / 0.5713 GB, free: 10.71 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6906, allocations: 7.938 kB / 0.5713 GB, free: 10.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007076/0.6913, allocations: 84 kB / 0.5713 GB, free: 10.62 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.001397/0.6927, allocations: 1.215 MB / 0.5725 GB, free: 9.441 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009508/0.6937, allocations: 345.1 kB / 0.5729 GB, free: 9.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.6937, allocations: 0 / 0.5729 GB, free: 9.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002292/0.6939, allocations: 90.48 kB / 0.5729 GB, free: 9.098 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005988/0.6945, allocations: 59.78 kB / 0.573 GB, free: 9.055 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002471/0.697, allocations: 0.8483 MB / 0.5738 GB, free: 8.234 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007096/0.6978, allocations: 0.8557 MB / 0.5747 GB, free: 7.363 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003071/0.6981, allocations: 140.5 kB / 0.5748 GB, free: 7.32 MB / 378.7 MB Notification: Performance of SimCode: time 1.573e-06/0.6981, allocations: 3.938 kB / 0.5748 GB, free: 7.316 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.857/3.555, allocations: 7.111 MB / 0.5817 GB, free: 284 kB / 378.7 MB (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer.fmu > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1)