Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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_matrixEqCirc3,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3",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.001148/0.001148, allocations: 100.9 kB / 16.5 MB, free: 6.691 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.001005/0.001005, allocations: 193.9 kB / 17.42 MB, free: 6.09 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.386/1.386, allocations: 205.1 MB / 223.3 MB, free: 12.53 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.167/0.167, allocations: 38 MB / 308.6 MB, free: 6.242 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.001373/0.001373, allocations: 71.89 kB / 374.7 MB, free: 4.016 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.2128, allocations: 55.24 MB / 430 MB, free: 19.78 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.002504/0.2153, allocations: 2.086 MB / 432.1 MB, free: 17.67 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005249/0.2159, allocations: 0.5776 MB / 432.6 MB, free: 17.09 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.975e-05/0.2159, allocations: 0 / 432.6 MB, free: 17.09 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001079/0.216, allocations: 11.92 kB / 432.6 MB, free: 17.08 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.687e-05/0.2161, allocations: 27.89 kB / 432.7 MB, free: 17.05 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000222/0.2163, allocations: 55.84 kB / 432.7 MB, free: 17 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.065e-05/0.2164, allocations: 115.8 kB / 432.8 MB, free: 16.88 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.553e-05/0.2165, allocations: 7.938 kB / 432.8 MB, free: 16.88 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.885e-05/0.2165, allocations: 23.86 kB / 432.9 MB, free: 16.85 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.4e-05/0.2166, allocations: 35.84 kB / 432.9 MB, free: 16.82 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.348e-06/0.2166, allocations: 4 kB / 432.9 MB, free: 16.81 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.2167, allocations: 71.89 kB / 433 MB, free: 16.74 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.284e-05/0.2168, allocations: 39.84 kB / 433 MB, free: 16.7 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.401e-05/0.2168, allocations: 51.48 kB / 433.1 MB, free: 16.65 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001428/0.217, allocations: 149.7 kB / 433.2 MB, free: 16.51 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.217, allocations: 0 / 433.2 MB, free: 16.51 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.217, allocations: 0 / 433.2 MB, free: 16.51 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.217, allocations: 4 kB / 433.2 MB, free: 16.5 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0002974/0.2173, allocations: 472.6 kB / 433.7 MB, free: 15.99 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.2173, allocations: 20.02 kB / 433.7 MB, free: 15.97 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.492e-05/0.2173, allocations: 46.73 kB / 433.7 MB, free: 15.91 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.869e-05/0.2174, allocations: 20.66 kB / 433.8 MB, free: 15.89 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.2175, allocations: 212.2 kB / 434 MB, free: 15.65 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.344e-06/0.2175, allocations: 4 kB / 434 MB, free: 15.64 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.918e-06/0.2175, allocations: 0 / 434 MB, free: 15.64 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.2176, allocations: 122.6 kB / 434.1 MB, free: 15.52 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.611e-06/0.2177, allocations: 3.938 kB / 434.1 MB, free: 15.52 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-06/0.2177, allocations: 0 / 434.1 MB, free: 15.52 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.2177, allocations: 0 / 434.1 MB, free: 15.52 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.217e-05/0.2177, allocations: 100.3 kB / 434.2 MB, free: 15.42 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.763e-05/0.2178, allocations: 198.1 kB / 434.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.671e-05/0.2179, allocations: 150.9 kB / 434.5 MB, free: 15.02 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.94e-05/0.218, allocations: 141.2 kB / 434.7 MB, free: 14.88 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.472e-06/0.218, allocations: 0 / 434.7 MB, free: 14.88 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.303e-05/0.218, allocations: 30.56 kB / 434.7 MB, free: 14.84 MB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 8.81e-07/0.218, allocations: 0 / 434.7 MB, free: 14.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.0003746/0.2184, allocations: 491.4 kB / 435.2 MB, free: 14.35 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.2185, allocations: 109.1 kB / 435.3 MB, free: 14.22 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.977e-05/0.2186, allocations: 142.4 kB / 435.4 MB, free: 14.07 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.985e-06/0.2186, allocations: 33.64 kB / 435.5 MB, free: 14.03 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.917e-05/0.2186, allocations: 96.78 kB / 435.6 MB, free: 13.93 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.14e-05/0.2187, allocations: 122.1 kB / 435.7 MB, free: 13.8 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.366e-05/0.2187, allocations: 37.7 kB / 435.7 MB, free: 13.76 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.592e-05/0.2188, allocations: 338.8 kB / 436 MB, free: 13.42 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.122e-05/0.2188, allocations: 96 kB / 436.1 MB, free: 13.33 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.365e-05/0.2189, allocations: 87.97 kB / 436.2 MB, free: 13.24 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001866/0.2191, allocations: 369.3 kB / 436.6 MB, free: 12.87 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2191, allocations: 0 / 436.6 MB, free: 12.87 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002091/0.2193, allocations: 323 kB / 436.9 MB, free: 12.54 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.335e-05/0.2194, allocations: 89.62 kB / 437 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.2194, allocations: 0 / 437 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-06/0.2194, allocations: 0 / 437 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.01e-07/0.2194, allocations: 0 / 437 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.2194, allocations: 64 / 437 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.863e-05/0.2194, allocations: 23.78 kB / 437 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.064e-05/0.2195, allocations: 8 kB / 437 MB, free: 12.41 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 0.0001181/0.2196, allocations: 231.4 kB / 437.2 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.404e-05/0.2196, allocations: 27.72 kB / 437.3 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.221e-05/0.2196, allocations: 9.969 kB / 437.3 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.2196, allocations: 0 / 437.3 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2197, allocations: 4 kB / 437.3 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-06/0.2197, allocations: 3.938 kB / 437.3 MB, free: 12.13 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.507e-05/0.2198, allocations: 233.2 kB / 437.5 MB, free: 11.86 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2198, allocations: 4 kB / 437.5 MB, free: 11.85 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.51e-07/0.2198, allocations: 0 / 437.5 MB, free: 11.85 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.2198, allocations: 0 / 437.5 MB, free: 11.85 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.2198, allocations: 11.94 kB / 437.5 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2198, allocations: 4 kB / 437.5 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2198, allocations: 3.984 kB / 437.5 MB, free: 11.83 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005917/0.2204, allocations: 0.8965 MB / 438.4 MB, free: 10.91 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.64e-05/0.2204, allocations: 104.7 kB / 438.5 MB, free: 10.79 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.523e-05/0.2205, allocations: 12.03 kB / 438.5 MB, free: 10.78 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.039e-05/0.2205, allocations: 4 kB / 438.6 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.269e-05/0.2205, allocations: 4 kB / 438.6 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.2205, allocations: 8 kB / 438.6 MB, free: 10.76 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.33e-05/0.2206, allocations: 115.9 kB / 438.7 MB, free: 10.65 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2206, allocations: 0 / 438.7 MB, free: 10.65 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002286/0.2208, allocations: 60 kB / 438.7 MB, free: 10.59 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.0008311/0.2217, allocations: 1.457 MB / 440.2 MB, free: 9.098 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008095/0.2225, allocations: 1.589 MB / 441.8 MB, free: 7.496 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2225, allocations: 0 / 441.8 MB, free: 7.496 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005829/0.2231, allocations: 1.362 MB / 443.1 MB, free: 6.121 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002368/0.2233, allocations: 27.92 kB / 443.2 MB, free: 6.094 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002377/0.2257, allocations: 3.496 MB / 446.7 MB, free: 2.516 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001873/0.2259, allocations: 0.7481 MB / 447.4 MB, free: 1.738 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.283e-05/0.2259, allocations: 4 kB / 447.4 MB, free: 1.734 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.476e-05/0.226, allocations: 39.42 kB / 447.5 MB, free: 1.695 MB / 318.1 MB Notification: Performance of SimCode: time 4.2e-07/0.226, allocations: 0 / 447.5 MB, free: 1.695 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01365/0.2397, allocations: 4.434 MB / 451.9 MB, free: 13.29 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000188/0.2399, allocations: 210.6 kB / 452.1 MB, free: 13.03 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.712/1.952, allocations: 0 / 452.1 MB, free: 13.03 MB / 334.1 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe 2>&1)