Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.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_matrixEqCirc0,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0",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.0009266/0.0009265, allocations: 170 kB / 16.07 MB, free: 5.695 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.268/1.268, allocations: 205.4 MB / 222.2 MB, free: 9.02 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.0007277/0.0007277, allocations: 93.33 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.1627/0.1627, allocations: 38.07 MB / 356.9 MB, free: 1.719 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003158/0.0003159, allocations: 12 kB / 423.4 MB, free: 37.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2256, allocations: 56.33 MB / 479.7 MB, free: 9.227 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.002147/0.2278, allocations: 1.728 MB / 481.5 MB, free: 8.246 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006927/0.2285, allocations: 0.5427 MB / 482 MB, free: 7.867 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.068e-05/0.2286, allocations: 0 / 482 MB, free: 7.867 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000154/0.2288, allocations: 13.86 kB / 482 MB, free: 7.859 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 8.303e-05/0.2289, allocations: 21.8 kB / 482 MB, free: 7.852 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002431/0.2291, allocations: 58.48 kB / 482.1 MB, free: 7.828 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.2292, allocations: 89.92 kB / 482.2 MB, free: 7.801 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.045e-05/0.2293, allocations: 2.891 kB / 482.2 MB, free: 7.801 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.359e-05/0.2294, allocations: 28.39 kB / 482.2 MB, free: 7.789 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.7e-05/0.2294, allocations: 35.92 kB / 482.3 MB, free: 7.773 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.588e-06/0.2294, allocations: 1.219 kB / 482.3 MB, free: 7.773 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00014/0.2296, allocations: 76.67 kB / 482.3 MB, free: 7.746 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.844e-05/0.2296, allocations: 10.78 kB / 482.3 MB, free: 7.742 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.187e-05/0.2297, allocations: 39.38 kB / 482.4 MB, free: 7.703 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001358/0.2298, allocations: 75.56 kB / 482.5 MB, free: 7.695 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.2298, allocations: 0 / 482.5 MB, free: 7.695 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2298, allocations: 0 / 482.5 MB, free: 7.695 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.606e-06/0.2298, allocations: 0 / 482.5 MB, free: 7.695 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002399/0.2301, allocations: 391.6 kB / 482.8 MB, free: 7.281 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.2301, allocations: 10.56 kB / 482.8 MB, free: 7.281 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.999e-05/0.2301, allocations: 32.91 kB / 482.9 MB, free: 7.242 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.927e-05/0.2302, allocations: 7.906 kB / 482.9 MB, free: 7.238 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.2303, allocations: 168.7 kB / 483 MB, free: 7.043 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.326e-06/0.2303, allocations: 1.562 kB / 483.1 MB, free: 7.043 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.767e-06/0.2303, allocations: 9.156 kB / 483.1 MB, free: 7.035 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.2304, allocations: 52.12 kB / 483.1 MB, free: 7 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.361e-06/0.2305, allocations: 0 / 483.1 MB, free: 7 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.773e-06/0.2305, allocations: 5.25 kB / 483.1 MB, free: 6.996 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.2305, allocations: 0 / 483.1 MB, free: 6.996 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.538e-05/0.2305, allocations: 22.17 kB / 483.1 MB, free: 6.992 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.03e-05/0.2306, allocations: 160.7 kB / 483.3 MB, free: 6.797 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.754e-05/0.2307, allocations: 47.06 kB / 483.3 MB, free: 6.762 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.371e-05/0.2307, allocations: 35.73 kB / 483.4 MB, free: 6.742 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.812e-06/0.2307, allocations: 1.531 kB / 483.4 MB, free: 6.742 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.367e-05/0.2307, allocations: 35.73 kB / 483.4 MB, free: 6.699 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 9.42e-07/0.2308, allocations: 0 / 483.4 MB, free: 6.699 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002099/0.231, allocations: 144 kB / 483.6 MB, free: 6.621 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/0.231, allocations: 83.98 kB / 483.6 MB, free: 6.527 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.886e-05/0.2311, allocations: 111.3 kB / 483.7 MB, free: 6.426 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.664e-06/0.2311, allocations: 27.25 kB / 483.8 MB, free: 6.395 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.043e-05/0.2311, allocations: 86.88 kB / 483.9 MB, free: 6.309 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.978e-05/0.2311, allocations: 29.31 kB / 483.9 MB, free: 6.285 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-06/0.2312, allocations: 4.875 kB / 483.9 MB, free: 6.281 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.107e-05/0.2312, allocations: 322.6 kB / 484.2 MB, free: 5.961 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.14e-05/0.2312, allocations: 21.95 kB / 484.2 MB, free: 5.957 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.935e-05/0.2313, allocations: 21.39 kB / 484.2 MB, free: 5.953 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.296e-05/0.2314, allocations: 121.9 kB / 484.4 MB, free: 5.875 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2314, allocations: 3.938 kB / 484.4 MB, free: 5.871 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001169/0.2315, allocations: 120.2 kB / 484.5 MB, free: 5.797 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.649e-05/0.2315, allocations: 47.44 kB / 484.5 MB, free: 5.762 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.2316, allocations: 1.125 kB / 484.5 MB, free: 5.762 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.2316, allocations: 4.062 kB / 484.5 MB, free: 5.758 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.254e-06/0.2316, allocations: 1.938 kB / 484.5 MB, free: 5.758 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.2316, allocations: 0 / 484.5 MB, free: 5.758 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.466e-05/0.2316, allocations: 9.812 kB / 484.5 MB, free: 5.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.2316, allocations: 2.719 kB / 484.6 MB, free: 5.75 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 7.308e-05/0.2317, allocations: 160.4 kB / 484.7 MB, free: 5.598 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.069e-05/0.2317, allocations: 8.219 kB / 484.7 MB, free: 5.594 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.187e-05/0.2318, allocations: 6.828 kB / 484.7 MB, free: 5.59 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.2318, allocations: 1.094 kB / 484.7 MB, free: 5.59 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.2318, allocations: 4 kB / 484.7 MB, free: 5.586 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.2318, allocations: 1 kB / 484.7 MB, free: 5.586 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.048e-05/0.2319, allocations: 174.7 kB / 484.9 MB, free: 5.383 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2319, allocations: 0 / 484.9 MB, free: 5.383 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.385e-06/0.2319, allocations: 5.906 kB / 484.9 MB, free: 5.379 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.2319, allocations: 0 / 484.9 MB, free: 5.379 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.2319, allocations: 2.188 kB / 484.9 MB, free: 5.379 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.2319, allocations: 1.609 kB / 484.9 MB, free: 5.379 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2319, allocations: 0 / 484.9 MB, free: 5.379 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002073/0.2321, allocations: 215.7 kB / 485.1 MB, free: 5.254 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.705e-05/0.2321, allocations: 79.55 kB / 485.2 MB, free: 5.16 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.2322, allocations: 2.344 kB / 485.2 MB, free: 5.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.667e-05/0.2322, allocations: 1.438 kB / 485.2 MB, free: 5.16 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.925e-05/0.2322, allocations: 6.859 kB / 485.2 MB, free: 5.156 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.2322, allocations: 3.281 kB / 485.2 MB, free: 5.156 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.964e-05/0.2323, allocations: 90.09 kB / 485.3 MB, free: 5.078 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2323, allocations: 0 / 485.3 MB, free: 5.078 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002204/0.2325, allocations: 25.81 kB / 485.3 MB, free: 5.078 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.0004004/0.2329, allocations: 0.7734 MB / 486.1 MB, free: 4.406 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001976/0.2331, allocations: 198.3 kB / 486.3 MB, free: 4.305 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2331, allocations: 0 / 486.3 MB, free: 4.305 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.138e-05/0.2332, allocations: 145.4 kB / 486.4 MB, free: 4.215 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/0.2334, allocations: 15.89 kB / 486.4 MB, free: 4.207 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007526/0.2342, allocations: 0.6787 MB / 487.1 MB, free: 3.77 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.402e-05/0.2343, allocations: 0.6949 MB / 487.8 MB, free: 3.07 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.272e-05/0.2343, allocations: 17.72 kB / 487.8 MB, free: 3.055 MB / 314.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2343, allocations: 0 / 487.8 MB, free: 3.055 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.145/3.379, allocations: 1.279 MB / 489.1 MB, free: 2.984 MB / 314.7 MB (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0.fmu > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe 2>&1)