Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007643/0.0007643, allocations: 86.11 kB / 16.64 MB, free: 6.113 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008824/0.0008824, allocations: 182.9 kB / 17.56 MB, free: 5.781 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.322/1.322, allocations: 205.4 MB / 223.7 MB, free: 12.98 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1748/0.1748, allocations: 38.05 MB / 310.1 MB, free: 5.898 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005675/0.0005675, allocations: 12 kB / 377.3 MB, free: 2.605 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.2207, allocations: 56.32 MB / 433.6 MB, free: 18.64 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.00186/0.2226, allocations: 1.743 MB / 435.3 MB, free: 16.88 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006701/0.2234, allocations: 0.5699 MB / 435.9 MB, free: 16.3 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.107e-05/0.2234, allocations: 0 / 435.9 MB, free: 16.3 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001127/0.2235, allocations: 15.92 kB / 435.9 MB, free: 16.29 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001038/0.2236, allocations: 27.89 kB / 435.9 MB, free: 16.26 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002214/0.2239, allocations: 59.84 kB / 436 MB, free: 16.2 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.871e-05/0.224, allocations: 115.6 kB / 436.1 MB, free: 16.09 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.181e-05/0.224, allocations: 4 kB / 436.1 MB, free: 16.09 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.951e-05/0.2241, allocations: 31.86 kB / 436.1 MB, free: 16.05 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.67e-05/0.2242, allocations: 27.91 kB / 436.2 MB, free: 16.03 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.877e-06/0.2242, allocations: 0 / 436.2 MB, free: 16.03 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.2243, allocations: 75.83 kB / 436.3 MB, free: 15.95 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.079e-05/0.2244, allocations: 19.92 kB / 436.3 MB, free: 15.93 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.017e-05/0.2244, allocations: 45.52 kB / 436.3 MB, free: 15.88 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001438/0.2245, allocations: 110 kB / 436.4 MB, free: 15.78 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.2246, allocations: 0 / 436.4 MB, free: 15.78 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2246, allocations: 0 / 436.4 MB, free: 15.78 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.2246, allocations: 0 / 436.4 MB, free: 15.78 MB / 318.1 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.0002654/0.2248, allocations: 401 kB / 436.8 MB, free: 15.33 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.2249, allocations: 8.031 kB / 436.8 MB, free: 15.32 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.626e-05/0.2249, allocations: 34.75 kB / 436.9 MB, free: 15.28 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.613e-05/0.225, allocations: 12.78 kB / 436.9 MB, free: 15.27 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.2251, allocations: 180.2 kB / 437 MB, free: 15.05 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/0.2251, allocations: 384 / 437 MB, free: 15.05 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.2251, allocations: 7.938 kB / 437.1 MB, free: 15.05 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.2252, allocations: 61.23 kB / 437.1 MB, free: 14.98 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-06/0.2252, allocations: 0 / 437.1 MB, free: 14.98 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-06/0.2252, allocations: 4 kB / 437.1 MB, free: 14.98 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.2252, allocations: 11.97 kB / 437.1 MB, free: 14.97 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.486e-05/0.2253, allocations: 27.94 kB / 437.2 MB, free: 14.94 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.949e-05/0.2254, allocations: 165.6 kB / 437.3 MB, free: 14.73 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.418e-05/0.2254, allocations: 58.5 kB / 437.4 MB, free: 14.66 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.446e-05/0.2255, allocations: 44.88 kB / 437.4 MB, free: 14.62 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.943e-06/0.2255, allocations: 0 / 437.4 MB, free: 14.62 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.564e-05/0.2255, allocations: 38.56 kB / 437.5 MB, free: 14.57 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 7.61e-07/0.2255, allocations: 0 / 437.5 MB, free: 14.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002091/0.2257, allocations: 183.2 kB / 437.6 MB, free: 14.38 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.2258, allocations: 85.33 kB / 437.7 MB, free: 14.28 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.724e-05/0.2258, allocations: 125.8 kB / 437.8 MB, free: 14.14 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.815e-06/0.2259, allocations: 25.7 kB / 437.9 MB, free: 14.11 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.035e-05/0.2259, allocations: 88.14 kB / 438 MB, free: 14.02 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.248e-05/0.2259, allocations: 35.45 kB / 438 MB, free: 13.99 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.16e-05/0.2259, allocations: 17.72 kB / 438 MB, free: 13.96 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.174e-05/0.226, allocations: 326.8 kB / 438.3 MB, free: 13.64 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.998e-05/0.226, allocations: 31.98 kB / 438.4 MB, free: 13.61 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.455e-05/0.2261, allocations: 27.98 kB / 438.4 MB, free: 13.58 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.244e-05/0.2262, allocations: 155.5 kB / 438.5 MB, free: 13.41 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2262, allocations: 0 / 438.5 MB, free: 13.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000118/0.2263, allocations: 151.1 kB / 438.7 MB, free: 13.25 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.46e-05/0.2263, allocations: 45.69 kB / 438.7 MB, free: 13.2 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2263, allocations: 3.938 kB / 438.7 MB, free: 13.2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.2264, allocations: 4 kB / 438.7 MB, free: 13.2 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-07/0.2264, allocations: 4.062 kB / 438.7 MB, free: 13.19 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.2264, allocations: 7.969 kB / 438.7 MB, free: 13.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.671e-05/0.2264, allocations: 7.938 kB / 438.8 MB, free: 13.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.2264, allocations: 4 kB / 438.8 MB, free: 13.17 MB / 318.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.611e-05/0.2265, allocations: 167.5 kB / 438.9 MB, free: 12.99 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.392e-05/0.2265, allocations: 7.906 kB / 438.9 MB, free: 12.98 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.186e-05/0.2266, allocations: 8.375 kB / 438.9 MB, free: 12.98 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.2266, allocations: 0 / 438.9 MB, free: 12.98 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2266, allocations: 0 / 438.9 MB, free: 12.98 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.2266, allocations: 4 kB / 438.9 MB, free: 12.97 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.987e-05/0.2267, allocations: 185.5 kB / 439.1 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.2267, allocations: 0 / 439.1 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.2267, allocations: 0 / 439.1 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.2267, allocations: 0 / 439.1 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.2267, allocations: 4 kB / 439.1 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2267, allocations: 0 / 439.1 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2267, allocations: 0 / 439.1 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002245/0.227, allocations: 282.5 kB / 439.4 MB, free: 12.44 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.263e-05/0.227, allocations: 92.98 kB / 439.5 MB, free: 12.33 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.227, allocations: 0 / 439.5 MB, free: 12.33 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.816e-05/0.227, allocations: 7.938 kB / 439.5 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.991e-05/0.2271, allocations: 4 kB / 439.5 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.306e-06/0.2271, allocations: 4 kB / 439.5 MB, free: 12.31 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.343e-05/0.2271, allocations: 95.27 kB / 439.6 MB, free: 12.22 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2271, allocations: 0 / 439.6 MB, free: 12.22 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002146/0.2273, allocations: 35.98 kB / 439.6 MB, free: 12.18 MB / 318.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004114/0.2278, allocations: 0.8203 MB / 440.5 MB, free: 11.33 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002225/0.228, allocations: 291.3 kB / 440.7 MB, free: 11.03 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.228, allocations: 0 / 440.7 MB, free: 11.03 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.2281, allocations: 223.3 kB / 441 MB, free: 10.8 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002186/0.2283, allocations: 11.94 kB / 441 MB, free: 10.79 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.2295, allocations: 1.791 MB / 442.8 MB, free: 8.914 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001031/0.2296, allocations: 0.7004 MB / 443.5 MB, free: 8.188 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.715e-05/0.2296, allocations: 4 kB / 443.5 MB, free: 8.184 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.473e-05/0.2297, allocations: 23.42 kB / 443.5 MB, free: 8.16 MB / 318.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2297, allocations: 0 / 443.5 MB, free: 8.16 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01662/0.2463, allocations: 2.258 MB / 445.7 MB, free: 5.957 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001536/0.2465, allocations: 217.9 kB / 446 MB, free: 5.691 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.655/1.901, allocations: 3.938 kB / 446 MB, free: 5.688 MB / 318.1 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe 2>&1)