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.002144/0.002144, allocations: 185.5 kB / 13.19 MB, free: 2.125 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.114/2.114, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.001099/0.001099, allocations: 85.38 kB / 267.1 MB, free: 9.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2757/0.2757, allocations: 37.96 MB / 353.1 MB, free: 3.062 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.059e-05/3.07e-05, allocations: 0 / 416.9 MB, free: 41.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1049, allocations: 56.32 MB / 473.2 MB, free: 0.832 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5326/0.6376, allocations: 102.1 MB / 0.5618 GB, free: 1.445 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004534/0.6382, allocations: 87.95 kB / 0.5619 GB, free: 1.359 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08997/0.7282, allocations: 13.72 MB / 0.5753 GB, free: 3.504 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.7282, allocations: 0 / 0.5753 GB, free: 3.504 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.055e-05/0.7283, allocations: 12 kB / 0.5753 GB, free: 3.492 MB / 410.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.002284/0.7306, allocations: 0.7149 MB / 0.576 GB, free: 2.727 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.7306, allocations: 8.031 kB / 0.576 GB, free: 2.719 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001641/0.7308, allocations: 94.5 kB / 0.5761 GB, free: 2.617 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008376/0.7317, allocations: 87.3 kB / 0.5762 GB, free: 2.531 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003991/0.7357, allocations: 0.9353 MB / 0.5771 GB, free: 1.559 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.753e-05/0.7357, allocations: 36.98 kB / 0.5772 GB, free: 1.523 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/0.7359, allocations: 51.88 kB / 0.5772 GB, free: 1.473 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001537/0.7374, allocations: 0.6602 MB / 0.5779 GB, free: 0.7422 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.389e-05/0.7375, allocations: 7.938 kB / 0.5779 GB, free: 0.7344 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.093e-05/0.7376, allocations: 16 kB / 0.5779 GB, free: 0.7188 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001021/0.7377, allocations: 32.77 kB / 0.5779 GB, free: 0.6875 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001292/0.739, allocations: 0.4947 MB / 0.5784 GB, free: 200 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006043/0.7451, allocations: 3.029 MB / 0.5814 GB, free: 13.03 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009839/0.7461, allocations: 333.6 kB / 0.5817 GB, free: 12.68 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004889/0.7466, allocations: 204.7 kB / 0.5819 GB, free: 12.48 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.99e-05/0.7467, allocations: 7.984 kB / 0.5819 GB, free: 12.47 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.7467, allocations: 42.5 kB / 0.5819 GB, free: 12.42 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 3.878e-06/0.7468, allocations: 0 / 0.5819 GB, free: 12.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=36): time 0.003779/0.7505, allocations: 1.151 MB / 0.583 GB, free: 11.21 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.225e-05/0.7507, allocations: 85.06 kB / 0.5831 GB, free: 11.11 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006721/0.7514, allocations: 339.5 kB / 0.5834 GB, free: 10.77 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.919e-05/0.7515, allocations: 29.7 kB / 0.5835 GB, free: 10.74 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002713/0.7517, allocations: 341.7 kB / 0.5838 GB, free: 10.4 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001689/0.7519, allocations: 130.1 kB / 0.5839 GB, free: 10.27 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-05/0.752, allocations: 8 kB / 0.5839 GB, free: 10.27 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.7522, allocations: 334.8 kB / 0.5843 GB, free: 9.93 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005318/0.7527, allocations: 197 kB / 0.5844 GB, free: 9.738 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006901/0.7534, allocations: 375 kB / 0.5848 GB, free: 9.293 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006915/0.7541, allocations: 269 kB / 0.5851 GB, free: 9.031 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.7541, allocations: 4 kB / 0.5851 GB, free: 9.027 MB / 426.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.003773/0.7579, allocations: 0.8243 MB / 0.5859 GB, free: 8.191 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/0.758, allocations: 12.47 kB / 0.5859 GB, free: 8.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.785e-05/0.758, allocations: 12 kB / 0.5859 GB, free: 8.168 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003168/0.7612, allocations: 293.6 kB / 0.5862 GB, free: 7.875 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/0.7626, allocations: 147.8 kB / 0.5863 GB, free: 7.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00862/0.7712, allocations: 3.786 MB / 0.59 GB, free: 3.672 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007395/0.772, allocations: 36.03 kB / 0.59 GB, free: 3.637 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.912e-05/0.7721, allocations: 23.98 kB / 0.5901 GB, free: 3.613 MB / 426.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 () * 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.0001967/0.7723, allocations: 130.7 kB / 0.5902 GB, free: 3.48 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.7724, allocations: 39.53 kB / 0.5902 GB, free: 3.441 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001506/0.7739, allocations: 0.5325 MB / 0.5907 GB, free: 2.902 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.738e-05/0.774, allocations: 8 kB / 0.5908 GB, free: 2.895 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.774, allocations: 96 / 0.5908 GB, free: 2.895 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.774, allocations: 3.938 kB / 0.5908 GB, free: 2.891 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002663/0.7767, allocations: 1.101 MB / 0.5918 GB, free: 1.727 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.348e-06/0.7767, allocations: 3.984 kB / 0.5918 GB, free: 1.723 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009366/0.7777, allocations: 91.94 kB / 0.5919 GB, free: 1.633 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.757e-05/0.7777, allocations: 4 kB / 0.5919 GB, free: 1.629 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.606e-05/0.7778, allocations: 15.98 kB / 0.5919 GB, free: 1.613 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.518e-06/0.7778, allocations: 4 kB / 0.5919 GB, free: 1.609 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.7778, allocations: 3.938 kB / 0.592 GB, free: 1.605 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001927/0.7798, allocations: 0.8478 MB / 0.5928 GB, free: 0.7109 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001825/0.78, allocations: 120.6 kB / 0.5929 GB, free: 0.5742 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.278e-05/0.7801, allocations: 8 kB / 0.5929 GB, free: 0.5664 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00048/0.7806, allocations: 23.97 kB / 0.5929 GB, free: 0.543 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.45e-05/0.7807, allocations: 27.92 kB / 0.593 GB, free: 0.5156 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.203e-05/0.7807, allocations: 15.98 kB / 0.593 GB, free: 0.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004821/0.7812, allocations: 258.1 kB / 0.5932 GB, free: 256 kB / 426.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.7812, allocations: 3.938 kB / 0.5932 GB, free: 252 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008236/0.7821, allocations: 143.9 kB / 0.5934 GB, free: 108 kB / 426.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 () * 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.002512/0.7846, allocations: 1.638 MB / 0.595 GB, free: 14.41 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002633/0.7873, allocations: 0.8217 MB / 0.5958 GB, free: 13.57 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.7873, allocations: 0 / 0.5958 GB, free: 13.57 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006019/0.7879, allocations: 232.3 kB / 0.596 GB, free: 13.34 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007245/0.7887, allocations: 69.61 kB / 0.596 GB, free: 13.27 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00351/0.7922, allocations: 1.25 MB / 0.5973 GB, free: 11.96 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006892/0.7929, allocations: 0.9171 MB / 0.5982 GB, free: 11.02 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004949/0.7934, allocations: 167.4 kB / 0.5983 GB, free: 10.86 MB / 442.7 MB Notification: Performance of SimCode: time 1.112e-06/0.7934, allocations: 7.875 kB / 0.5983 GB, free: 10.85 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.155/3.948, allocations: 10.15 MB / 0.6082 GB, free: 0.6836 MB / 442.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)