Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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.Precalculation.Z_matrixEqCirc1,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1",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.0008734/0.0008733, allocations: 173.6 kB / 16.07 MB, free: 5.727 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.18/1.18, allocations: 205.4 MB / 222.2 MB, free: 9 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.000682/0.000682, allocations: 92.34 kB / 270.6 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1572/0.1572, allocations: 38.08 MB / 356.9 MB, free: 1.727 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003153/0.0003154, allocations: 12 kB / 423.4 MB, free: 37.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.2249, allocations: 56.33 MB / 479.7 MB, free: 9.219 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.001881/0.2268, allocations: 1.73 MB / 481.5 MB, free: 8.238 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.000595/0.2274, allocations: 0.5422 MB / 482 MB, free: 7.859 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.556e-05/0.2274, allocations: 0 / 482 MB, free: 7.859 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001084/0.2276, allocations: 10.36 kB / 482 MB, free: 7.855 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.2277, allocations: 25.03 kB / 482 MB, free: 7.844 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002102/0.2279, allocations: 58.72 kB / 482.1 MB, free: 7.82 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.228, allocations: 90.3 kB / 482.2 MB, free: 7.793 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.391e-05/0.2281, allocations: 5.875 kB / 482.2 MB, free: 7.789 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.977e-05/0.2281, allocations: 29.34 kB / 482.2 MB, free: 7.777 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.488e-05/0.2282, allocations: 31.34 kB / 482.2 MB, free: 7.766 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.075e-06/0.2282, allocations: 0 / 482.2 MB, free: 7.766 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001445/0.2284, allocations: 74.5 kB / 482.3 MB, free: 7.742 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.383e-05/0.2284, allocations: 13.06 kB / 482.3 MB, free: 7.742 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.025e-05/0.2284, allocations: 43.19 kB / 482.4 MB, free: 7.699 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001318/0.2286, allocations: 82.16 kB / 482.5 MB, free: 7.688 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2286, allocations: 0.5156 kB / 482.5 MB, free: 7.688 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.2286, allocations: 0 / 482.5 MB, free: 7.688 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.2286, allocations: 9.281 kB / 482.5 MB, free: 7.68 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0002328/0.2288, allocations: 393.1 kB / 482.9 MB, free: 7.27 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.2289, allocations: 10.95 kB / 482.9 MB, free: 7.27 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.646e-05/0.2289, allocations: 33.45 kB / 482.9 MB, free: 7.23 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.71e-05/0.2289, allocations: 8.25 kB / 482.9 MB, free: 7.227 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.2291, allocations: 185.4 kB / 483.1 MB, free: 7.016 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.826e-06/0.2291, allocations: 1.562 kB / 483.1 MB, free: 7.016 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.2291, allocations: 5.922 kB / 483.1 MB, free: 7.012 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.2292, allocations: 58.64 kB / 483.1 MB, free: 6.977 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.2292, allocations: 4 kB / 483.2 MB, free: 6.973 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.2292, allocations: 1.438 kB / 483.2 MB, free: 6.973 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.2292, allocations: 7.922 kB / 483.2 MB, free: 6.965 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.203e-05/0.2293, allocations: 28.61 kB / 483.2 MB, free: 6.961 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.354e-05/0.2294, allocations: 163.6 kB / 483.3 MB, free: 6.766 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.161e-05/0.2295, allocations: 63.09 kB / 483.4 MB, free: 6.723 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.302e-05/0.2295, allocations: 40.52 kB / 483.4 MB, free: 6.707 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.574e-06/0.2295, allocations: 4.656 kB / 483.5 MB, free: 6.703 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.425e-05/0.2295, allocations: 35.69 kB / 483.5 MB, free: 6.66 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 1.002e-06/0.2295, allocations: 0 / 483.5 MB, free: 6.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002309/0.2298, allocations: 186.7 kB / 483.7 MB, free: 6.57 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.2298, allocations: 91.62 kB / 483.8 MB, free: 6.473 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.291e-05/0.2299, allocations: 119.3 kB / 483.9 MB, free: 6.367 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.354e-06/0.2299, allocations: 26.7 kB / 483.9 MB, free: 6.336 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.095e-05/0.2299, allocations: 91.62 kB / 484 MB, free: 6.246 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.376e-05/0.23, allocations: 35.8 kB / 484 MB, free: 6.219 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-06/0.23, allocations: 4 kB / 484 MB, free: 6.215 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.11e-05/0.23, allocations: 317.6 kB / 484.3 MB, free: 5.902 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.561e-05/0.2301, allocations: 27.17 kB / 484.4 MB, free: 5.898 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.253e-05/0.2301, allocations: 33.47 kB / 484.4 MB, free: 5.891 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.2302, allocations: 155.9 kB / 484.6 MB, free: 5.805 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.2302, allocations: 0 / 484.6 MB, free: 5.805 MB / 314.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001358/0.2304, allocations: 148 kB / 484.7 MB, free: 5.723 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.312e-05/0.2304, allocations: 50.72 kB / 484.7 MB, free: 5.688 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.2304, allocations: 4.062 kB / 484.8 MB, free: 5.684 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.2305, allocations: 1.469 kB / 484.8 MB, free: 5.684 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.112e-06/0.2305, allocations: 0 / 484.8 MB, free: 5.684 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.2305, allocations: 0.7031 kB / 484.8 MB, free: 5.684 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.559e-05/0.2305, allocations: 8.031 kB / 484.8 MB, free: 5.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/0.2305, allocations: 7.188 kB / 484.8 MB, free: 5.676 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.345e-05/0.2306, allocations: 167.5 kB / 484.9 MB, free: 5.523 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.467e-05/0.2306, allocations: 9.844 kB / 484.9 MB, free: 5.52 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.154e-05/0.2306, allocations: 7.938 kB / 484.9 MB, free: 5.516 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.2307, allocations: 4 kB / 485 MB, free: 5.512 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.2307, allocations: 0.5625 kB / 485 MB, free: 5.512 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.764e-06/0.2307, allocations: 0 / 485 MB, free: 5.512 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.327e-05/0.2307, allocations: 179.9 kB / 485.1 MB, free: 5.309 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.2308, allocations: 1.719 kB / 485.1 MB, free: 5.309 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.2308, allocations: 0 / 485.1 MB, free: 5.309 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.2308, allocations: 1.219 kB / 485.1 MB, free: 5.309 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.2308, allocations: 2.922 kB / 485.1 MB, free: 5.309 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2308, allocations: 3.938 kB / 485.1 MB, free: 5.305 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.2308, allocations: 1.703 kB / 485.1 MB, free: 5.305 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002499/0.231, allocations: 282.3 kB / 485.4 MB, free: 5.164 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.874e-05/0.2311, allocations: 87.94 kB / 485.5 MB, free: 5.062 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.2311, allocations: 3.219 kB / 485.5 MB, free: 5.062 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.707e-05/0.2311, allocations: 2.531 kB / 485.5 MB, free: 5.062 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.967e-05/0.2311, allocations: 1.953 kB / 485.5 MB, free: 5.062 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.2312, allocations: 3.031 kB / 485.5 MB, free: 5.062 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.35e-05/0.2312, allocations: 93.94 kB / 485.6 MB, free: 4.984 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2312, allocations: 0 / 485.6 MB, free: 4.984 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002313/0.2314, allocations: 34.94 kB / 485.6 MB, free: 4.98 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * 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.0004474/0.2319, allocations: 0.8346 MB / 486.5 MB, free: 4.297 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002754/0.2322, allocations: 287 kB / 486.8 MB, free: 4.164 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2322, allocations: 1.281 kB / 486.8 MB, free: 4.164 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001495/0.2323, allocations: 222.8 kB / 487 MB, free: 4.039 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002044/0.2326, allocations: 12.94 kB / 487 MB, free: 4.035 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000895/0.2335, allocations: 0.8332 MB / 487.8 MB, free: 3.559 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001038/0.2336, allocations: 0.6987 MB / 488.5 MB, free: 2.863 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.367e-05/0.2336, allocations: 18.55 kB / 488.5 MB, free: 2.848 MB / 314.7 MB Notification: Performance of SimCode: time 2.5e-07/0.2336, allocations: 1 kB / 488.5 MB, free: 2.848 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.1/3.333, allocations: 1.469 MB / 490 MB, free: 2.75 MB / 314.7 MB (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1.fmu > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe 2>&1)