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.001683/0.001683, allocations: 183.1 kB / 15.76 MB, free: 6.34 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.111/2.111, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001152/0.001152, allocations: 94.84 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2705/0.2705, allocations: 38.05 MB / 356.6 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000491/0.0004911, allocations: 12 kB / 422.8 MB, free: 26.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.131, allocations: 56.34 MB / 479.1 MB, free: 1.953 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5439/0.675, allocations: 95.85 MB / 0.5615 GB, free: 3.496 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003271/0.6754, allocations: 101.2 kB / 0.5616 GB, free: 3.441 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05932/0.7348, allocations: 12.9 MB / 0.5742 GB, free: 8.371 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.7348, allocations: 0 / 0.5742 GB, free: 8.371 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.23e-05/0.7349, allocations: 12 kB / 0.5742 GB, free: 8.359 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.002097/0.737, allocations: 0.6889 MB / 0.5749 GB, free: 7.652 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.73e-05/0.7371, allocations: 8.031 kB / 0.5749 GB, free: 7.645 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000265/0.7374, allocations: 83.27 kB / 0.575 GB, free: 7.574 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001204/0.7386, allocations: 95.36 kB / 0.5751 GB, free: 7.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003928/0.7425, allocations: 0.8802 MB / 0.5759 GB, free: 6.699 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.471e-05/0.7426, allocations: 28.06 kB / 0.576 GB, free: 6.684 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/0.7428, allocations: 30.94 kB / 0.576 GB, free: 6.664 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/0.744, allocations: 473.1 kB / 0.5764 GB, free: 6.301 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.316e-05/0.7441, allocations: 0 / 0.5764 GB, free: 6.301 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.669e-05/0.7442, allocations: 18.89 kB / 0.5765 GB, free: 6.293 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.949e-05/0.7443, allocations: 24.98 kB / 0.5765 GB, free: 6.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009433/0.7452, allocations: 334.8 kB / 0.5768 GB, free: 6.043 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004004/0.7493, allocations: 1.635 MB / 0.5784 GB, free: 4.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005708/0.7499, allocations: 175 kB / 0.5786 GB, free: 4.426 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.684e-05/0.75, allocations: 4.062 kB / 0.5786 GB, free: 4.422 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.404e-05/0.75, allocations: 33.72 kB / 0.5786 GB, free: 4.383 MB / 378.7 MB Notification: Performance of pre-optimization done (n=19): time 3.447e-06/0.75, allocations: 4 kB / 0.5786 GB, free: 4.379 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.002345/0.7524, allocations: 0.7827 MB / 0.5794 GB, free: 3.684 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.326e-05/0.7525, allocations: 85.23 kB / 0.5794 GB, free: 3.582 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000507/0.753, allocations: 268 kB / 0.5797 GB, free: 3.355 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.309e-05/0.7531, allocations: 29.02 kB / 0.5797 GB, free: 3.324 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002485/0.7533, allocations: 304.8 kB / 0.58 GB, free: 3.066 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.7535, allocations: 69.06 kB / 0.5801 GB, free: 3.008 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.609e-05/0.7535, allocations: 3.062 kB / 0.5801 GB, free: 3.008 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002019/0.7537, allocations: 325.6 kB / 0.5804 GB, free: 2.688 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002882/0.754, allocations: 94.5 kB / 0.5805 GB, free: 2.625 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003933/0.7544, allocations: 212.8 kB / 0.5807 GB, free: 2.406 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003669/0.7548, allocations: 136.7 kB / 0.5808 GB, free: 2.32 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.7548, allocations: 0 / 0.5808 GB, free: 2.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001377/0.7562, allocations: 408.2 kB / 0.5812 GB, free: 2.004 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.767e-05/0.7563, allocations: 10.91 kB / 0.5812 GB, free: 1.996 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000873/0.7572, allocations: 261.5 kB / 0.5815 GB, free: 1.812 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006023/0.7578, allocations: 85.09 kB / 0.5816 GB, free: 1.738 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005085/0.7583, allocations: 66.72 kB / 0.5816 GB, free: 1.676 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002676/0.761, allocations: 1.618 MB / 0.5832 GB, free: 76 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004557/0.7616, allocations: 7.938 kB / 0.5832 GB, free: 72 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.773e-05/0.7616, allocations: 15.31 kB / 0.5832 GB, free: 60 kB / 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 () * Number of clocked 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.0004372/0.7621, allocations: 193.9 kB / 0.5834 GB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.7622, allocations: 31.62 kB / 0.5834 GB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007676/0.7629, allocations: 275.2 kB / 0.5837 GB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.763, allocations: 0 / 0.5837 GB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.763, allocations: 4 kB / 0.5837 GB, free: 15.65 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.763, allocations: 0 / 0.5837 GB, free: 15.65 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002092/0.7651, allocations: 0.7624 MB / 0.5844 GB, free: 14.97 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/0.7652, allocations: 0 / 0.5844 GB, free: 14.97 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005507/0.7657, allocations: 51.91 kB / 0.5845 GB, free: 14.92 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-05/0.7658, allocations: 4 kB / 0.5845 GB, free: 14.92 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.566e-05/0.7658, allocations: 7.562 kB / 0.5845 GB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.7658, allocations: 0 / 0.5845 GB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.7658, allocations: 0 / 0.5845 GB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.7669, allocations: 493.4 kB / 0.585 GB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001734/0.7671, allocations: 112.1 kB / 0.5851 GB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.065e-05/0.7672, allocations: 7.688 kB / 0.5851 GB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002943/0.7675, allocations: 4 kB / 0.5851 GB, free: 14.35 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.947e-05/0.7676, allocations: 26.92 kB / 0.5851 GB, free: 14.33 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.483e-05/0.7676, allocations: 4 kB / 0.5851 GB, free: 14.32 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004034/0.768, allocations: 215.2 kB / 0.5853 GB, free: 14.16 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.768, allocations: 0 / 0.5853 GB, free: 14.16 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007629/0.7688, allocations: 94.8 kB / 0.5854 GB, free: 14.07 MB / 394.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 () * Number of clocked 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.001676/0.7705, allocations: 1.251 MB / 0.5866 GB, free: 12.88 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001166/0.7717, allocations: 362.9 kB / 0.587 GB, free: 12.57 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.7718, allocations: 0.875 kB / 0.587 GB, free: 12.57 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003562/0.7721, allocations: 105.9 kB / 0.5871 GB, free: 12.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007129/0.7729, allocations: 65.47 kB / 0.5871 GB, free: 12.45 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007176/0.7801, allocations: 4.566 MB / 0.5916 GB, free: 8.078 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006869/0.7808, allocations: 0.8536 MB / 0.5924 GB, free: 7.215 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003438/0.7812, allocations: 137.4 kB / 0.5926 GB, free: 7.172 MB / 394.7 MB Notification: Performance of SimCode: time 1.482e-06/0.7812, allocations: 0 / 0.5926 GB, free: 7.172 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.769/3.55, allocations: 7.195 MB / 0.5996 GB, free: 48 kB / 394.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)