Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.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.Elementary.Load,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Elementary_Load",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Load,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Elementary_Load",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.001602/0.001601, allocations: 182.4 kB / 15.76 MB, free: 6.344 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.967/1.967, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.001134/0.001134, 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.26/0.26, allocations: 38.05 MB / 356.5 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007019/0.000702, allocations: 12 kB / 422.8 MB, free: 26.33 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1269, allocations: 56.32 MB / 479.1 MB, free: 1.957 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4911/0.6181, allocations: 102.2 MB / 0.5677 GB, free: 13.59 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003281/0.6185, allocations: 91.08 kB / 0.5678 GB, free: 13.54 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06807/0.6866, allocations: 13.75 MB / 0.5812 GB, free: 1.715 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.756e-06/0.6866, allocations: 4 kB / 0.5812 GB, free: 1.711 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.346e-05/0.6867, allocations: 8 kB / 0.5812 GB, free: 1.703 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.002977/0.6897, allocations: 0.8125 MB / 0.582 GB, free: 0.875 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.6897, allocations: 8.031 kB / 0.582 GB, free: 0.8672 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003023/0.6901, allocations: 80.53 kB / 0.5821 GB, free: 0.8047 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009117/0.691, allocations: 99.19 kB / 0.5822 GB, free: 0.707 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004156/0.6952, allocations: 0.9475 MB / 0.5831 GB, free: 15.86 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.078e-05/0.6953, allocations: 27.44 kB / 0.5832 GB, free: 15.84 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001641/0.6954, allocations: 49.78 kB / 0.5832 GB, free: 15.8 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001578/0.697, allocations: 0.6726 MB / 0.5839 GB, free: 15.23 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.856e-05/0.6971, allocations: 7.984 kB / 0.5839 GB, free: 15.22 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.817e-05/0.6972, allocations: 17.25 kB / 0.5839 GB, free: 15.21 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000111/0.6973, allocations: 36.05 kB / 0.5839 GB, free: 15.18 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001344/0.6987, allocations: 0.5024 MB / 0.5844 GB, free: 14.82 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006098/0.7048, allocations: 3.04 MB / 0.5874 GB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009458/0.7058, allocations: 338.4 kB / 0.5877 GB, free: 11.73 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.469e-05/0.7059, allocations: 8.062 kB / 0.5877 GB, free: 11.72 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.7059, allocations: 34.44 kB / 0.5878 GB, free: 11.68 MB / 394.7 MB Notification: Performance of pre-optimization done (n=35): time 3.637e-06/0.7059, allocations: 0 / 0.5878 GB, free: 11.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=36): time 0.003724/0.7097, allocations: 1.408 MB / 0.5891 GB, free: 10.5 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.347e-05/0.7098, allocations: 81.11 kB / 0.5892 GB, free: 10.4 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006384/0.7104, allocations: 353.1 kB / 0.5895 GB, free: 10.11 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.204e-05/0.7105, allocations: 29.64 kB / 0.5896 GB, free: 10.08 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002656/0.7108, allocations: 338 kB / 0.5899 GB, free: 9.789 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000192/0.711, allocations: 133 kB / 0.59 GB, free: 9.676 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.762e-05/0.7111, allocations: 6.688 kB / 0.59 GB, free: 9.676 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.7112, allocations: 333.7 kB / 0.5903 GB, free: 9.352 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005338/0.7118, allocations: 204.7 kB / 0.5905 GB, free: 9.211 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006756/0.7125, allocations: 382.6 kB / 0.5909 GB, free: 8.828 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007004/0.7132, allocations: 269.3 kB / 0.5912 GB, free: 8.652 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.7132, allocations: 0 / 0.5912 GB, free: 8.652 MB / 394.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.003826/0.7171, allocations: 0.8422 MB / 0.592 GB, free: 7.977 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.368e-05/0.7171, allocations: 11.98 kB / 0.592 GB, free: 7.965 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/0.7172, allocations: 4 kB / 0.592 GB, free: 7.961 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003121/0.7203, allocations: 297.7 kB / 0.5923 GB, free: 7.691 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001349/0.7217, allocations: 144.8 kB / 0.5924 GB, free: 7.555 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008614/0.7303, allocations: 3.862 MB / 0.5962 GB, free: 3.867 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007153/0.7311, allocations: 30.28 kB / 0.5962 GB, free: 3.844 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-05/0.7312, allocations: 27.05 kB / 0.5962 GB, free: 3.82 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (51): * Single equations (assignments): 48 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004592/0.7317, allocations: 223.6 kB / 0.5965 GB, free: 3.629 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.7318, allocations: 39.44 kB / 0.5965 GB, free: 3.59 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001487/0.7333, allocations: 0.5271 MB / 0.597 GB, free: 3.219 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.389e-05/0.7334, allocations: 11.89 kB / 0.597 GB, free: 3.207 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.7334, allocations: 4 kB / 0.597 GB, free: 3.203 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.7334, allocations: 4 kB / 0.597 GB, free: 3.199 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002667/0.7361, allocations: 1.101 MB / 0.5981 GB, free: 2.277 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.7361, allocations: 0 / 0.5981 GB, free: 2.277 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009595/0.7371, allocations: 90.59 kB / 0.5982 GB, free: 2.191 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.108e-05/0.7372, allocations: 7.938 kB / 0.5982 GB, free: 2.184 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.211e-05/0.7372, allocations: 13.42 kB / 0.5982 GB, free: 2.176 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.217e-06/0.7372, allocations: 8.062 kB / 0.5982 GB, free: 2.168 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.7373, allocations: 3.984 kB / 0.5982 GB, free: 2.164 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001946/0.7392, allocations: 0.874 MB / 0.5991 GB, free: 1.465 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001864/0.7394, allocations: 116.2 kB / 0.5992 GB, free: 1.336 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.812e-05/0.7395, allocations: 7.688 kB / 0.5992 GB, free: 1.332 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004887/0.74, allocations: 23.72 kB / 0.5992 GB, free: 1.312 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.493e-05/0.7402, allocations: 27.61 kB / 0.5992 GB, free: 1.289 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-05/0.7402, allocations: 12.06 kB / 0.5993 GB, free: 1.281 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004552/0.7407, allocations: 262.7 kB / 0.5995 GB, free: 1.07 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.7407, allocations: 0 / 0.5995 GB, free: 1.07 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008514/0.7416, allocations: 134.6 kB / 0.5996 GB, free: 0.9531 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (load.psi[1],load.psi[2],load.psi[3],load.Z[1],load.Z[2]) * 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 (40): * Single equations (assignments): 38 * 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.002505/0.7441, allocations: 1.654 MB / 0.6012 GB, free: 15.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002723/0.7468, allocations: 0.844 MB / 0.6021 GB, free: 14.76 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.7469, allocations: 0 / 0.6021 GB, free: 14.76 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006078/0.7475, allocations: 230.1 kB / 0.6023 GB, free: 14.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007212/0.7483, allocations: 81.77 kB / 0.6024 GB, free: 14.54 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01181/0.7601, allocations: 7.279 MB / 0.6095 GB, free: 7.602 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007348/0.7609, allocations: 0.9087 MB / 0.6104 GB, free: 6.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004929/0.7614, allocations: 176.1 kB / 0.6105 GB, free: 6.621 MB / 410.7 MB Notification: Performance of SimCode: time 1.072e-06/0.7614, allocations: 0 / 0.6105 GB, free: 6.621 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.855/3.616, allocations: 10.16 MB / 0.6205 GB, free: 12.54 MB / 426.7 MB (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_AC3ph_Elementary_Load_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_AC3ph_Elementary_Load.fmu > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.pipe 2>&1)