Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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_matrixEqCirc3,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3",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.0009013/0.0009013, allocations: 174.1 kB / 16.07 MB, free: 5.723 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.179/1.179, allocations: 205.4 MB / 222.2 MB, free: 9.016 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.000653/0.0006531, allocations: 88.86 kB / 270.6 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1577/0.1577, allocations: 38.07 MB / 356.9 MB, free: 1.723 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003107/0.0003107, allocations: 15.98 kB / 423.4 MB, free: 37.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.218, allocations: 56.32 MB / 479.7 MB, free: 9.238 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.002232/0.2203, allocations: 1.738 MB / 481.5 MB, free: 8.246 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006803/0.221, allocations: 0.5382 MB / 482 MB, free: 7.871 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.816e-05/0.221, allocations: 1.312 kB / 482 MB, free: 7.871 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001144/0.2212, allocations: 9.188 kB / 482 MB, free: 7.867 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 8.495e-05/0.2212, allocations: 24.44 kB / 482 MB, free: 7.855 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002919/0.2215, allocations: 56.06 kB / 482.1 MB, free: 7.836 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.2217, allocations: 89.47 kB / 482.2 MB, free: 7.809 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.629e-05/0.2217, allocations: 8.156 kB / 482.2 MB, free: 7.805 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.958e-05/0.2218, allocations: 32.84 kB / 482.2 MB, free: 7.789 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.807e-05/0.2219, allocations: 35.28 kB / 482.3 MB, free: 7.777 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.2219, allocations: 0.9688 kB / 482.3 MB, free: 7.777 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001658/0.2221, allocations: 74.52 kB / 482.3 MB, free: 7.754 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.65e-05/0.2222, allocations: 38.53 kB / 482.4 MB, free: 7.746 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.767e-05/0.2222, allocations: 64.05 kB / 482.4 MB, free: 7.688 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.2224, allocations: 113.4 kB / 482.5 MB, free: 7.664 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2224, allocations: 0 / 482.5 MB, free: 7.664 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2224, allocations: 1.094 kB / 482.5 MB, free: 7.664 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.2224, allocations: 4 kB / 482.6 MB, free: 7.66 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0003259/0.2228, allocations: 468.9 kB / 483 MB, free: 7.215 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.2228, allocations: 10.03 kB / 483 MB, free: 7.215 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.257e-05/0.2229, allocations: 50.02 kB / 483.1 MB, free: 7.168 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.439e-05/0.2229, allocations: 14.25 kB / 483.1 MB, free: 7.16 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.223, allocations: 206.2 kB / 483.3 MB, free: 6.934 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.2231, allocations: 1.031 kB / 483.3 MB, free: 6.934 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.965e-06/0.2231, allocations: 1.062 kB / 483.3 MB, free: 6.934 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.2233, allocations: 129.7 kB / 483.4 MB, free: 6.875 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.2233, allocations: 4 kB / 483.4 MB, free: 6.871 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.2233, allocations: 1.438 kB / 483.4 MB, free: 6.871 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.2233, allocations: 0 / 483.4 MB, free: 6.871 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.564e-05/0.2234, allocations: 91.16 kB / 483.5 MB, free: 6.852 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001365/0.2235, allocations: 204.3 kB / 483.7 MB, free: 6.633 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.2237, allocations: 148.9 kB / 483.9 MB, free: 6.555 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.2238, allocations: 142.9 kB / 484 MB, free: 6.488 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.193e-06/0.2238, allocations: 0 / 484 MB, free: 6.488 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.567e-05/0.2238, allocations: 39.59 kB / 484 MB, free: 6.441 MB / 314.7 MB Notification: Performance of pre-optimization done (n=40): time 8.91e-07/0.2238, allocations: 0 / 484 MB, free: 6.441 MB / 314.7 MB Notification: Performance of matching and sorting (n=40): time 0.0005195/0.2244, allocations: 475.2 kB / 484.5 MB, free: 6.289 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.2244, allocations: 112.2 kB / 484.6 MB, free: 6.188 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.2245, allocations: 146.3 kB / 484.7 MB, free: 6.07 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.004e-06/0.2245, allocations: 25.7 kB / 484.8 MB, free: 6.039 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.014e-05/0.2246, allocations: 100.1 kB / 484.9 MB, free: 5.941 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.872e-05/0.2246, allocations: 129.3 kB / 485 MB, free: 5.84 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-06/0.2247, allocations: 4 kB / 485 MB, free: 5.836 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.115e-05/0.2247, allocations: 337.7 kB / 485.3 MB, free: 5.512 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.513e-05/0.2248, allocations: 93.36 kB / 485.4 MB, free: 5.488 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.755e-05/0.2249, allocations: 88.56 kB / 485.5 MB, free: 5.469 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002763/0.2252, allocations: 366.4 kB / 485.9 MB, free: 5.336 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2252, allocations: 0 / 485.9 MB, free: 5.336 MB / 314.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002862/0.2255, allocations: 317.9 kB / 486.2 MB, free: 5.215 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.499e-05/0.2255, allocations: 86.61 kB / 486.3 MB, free: 5.176 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.2256, allocations: 4 kB / 486.3 MB, free: 5.172 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.2256, allocations: 4 kB / 486.3 MB, free: 5.168 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-07/0.2256, allocations: 1.375 kB / 486.3 MB, free: 5.168 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.2256, allocations: 0 / 486.3 MB, free: 5.168 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.741e-05/0.2256, allocations: 24.44 kB / 486.3 MB, free: 5.152 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.407e-05/0.2257, allocations: 6.75 kB / 486.3 MB, free: 5.152 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 0.0001589/0.2258, allocations: 231.7 kB / 486.5 MB, free: 4.996 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.807e-05/0.2259, allocations: 22.22 kB / 486.5 MB, free: 4.988 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.572e-05/0.2259, allocations: 14.17 kB / 486.6 MB, free: 4.984 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-06/0.2259, allocations: 4 kB / 486.6 MB, free: 4.98 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.2259, allocations: 1.375 kB / 486.6 MB, free: 4.98 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.2259, allocations: 4.734 kB / 486.6 MB, free: 4.977 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/0.226, allocations: 230 kB / 486.8 MB, free: 4.758 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.226, allocations: 0 / 486.8 MB, free: 4.758 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-07/0.226, allocations: 1.375 kB / 486.8 MB, free: 4.758 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.2261, allocations: 0 / 486.8 MB, free: 4.758 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.2261, allocations: 7.859 kB / 486.8 MB, free: 4.758 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2261, allocations: 0 / 486.8 MB, free: 4.758 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.2261, allocations: 0 / 486.8 MB, free: 4.758 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008709/0.227, allocations: 0.9055 MB / 487.7 MB, free: 4.496 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.113e-05/0.227, allocations: 102.8 kB / 487.8 MB, free: 4.383 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.903e-05/0.227, allocations: 10.36 kB / 487.8 MB, free: 4.379 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.331e-05/0.2271, allocations: 6.344 kB / 487.8 MB, free: 4.379 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.337e-05/0.2271, allocations: 2.969 kB / 487.8 MB, free: 4.379 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.2271, allocations: 7.078 kB / 487.8 MB, free: 4.379 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.871e-05/0.2272, allocations: 115.5 kB / 487.9 MB, free: 4.293 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2272, allocations: 0 / 487.9 MB, free: 4.293 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002588/0.2275, allocations: 65.06 kB / 488 MB, free: 4.289 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.00114/0.2286, allocations: 1.453 MB / 489.5 MB, free: 3.504 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001119/0.2297, allocations: 1.578 MB / 491 MB, free: 2.684 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.2297, allocations: 0 / 491 MB, free: 2.684 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008838/0.2306, allocations: 1.367 MB / 492.4 MB, free: 1.906 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.2309, allocations: 37.69 kB / 492.4 MB, free: 1.891 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002162/0.2331, allocations: 1.893 MB / 494.3 MB, free: 1.098 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001632/0.2332, allocations: 0.7464 MB / 495.1 MB, free: 412 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.201e-05/0.2333, allocations: 45.62 kB / 495.1 MB, free: 372 kB / 314.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2333, allocations: 0 / 495.1 MB, free: 372 kB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.275/3.508, allocations: 2.639 MB / 497.8 MB, free: 172 kB / 314.7 MB (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3.fmu > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe 2>&1)