Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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_matrixEqCirc2,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2",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.0006586/0.0006586, allocations: 94.88 kB / 16.65 MB, free: 6.27 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.0008754/0.0008754, allocations: 180.4 kB / 17.57 MB, free: 5.883 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.295/1.295, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.174/0.174, allocations: 38.06 MB / 310.1 MB, free: 5.902 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.0005844/0.0005844, allocations: 12.47 kB / 377.3 MB, free: 2.617 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.2044, allocations: 56.33 MB / 433.6 MB, free: 18.65 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.001794/0.2062, allocations: 1.747 MB / 435.3 MB, free: 16.88 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006377/0.2069, allocations: 0.5737 MB / 435.9 MB, free: 16.3 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.997e-05/0.207, allocations: 0 / 435.9 MB, free: 16.3 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001187/0.2071, allocations: 15.92 kB / 435.9 MB, free: 16.29 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.015e-05/0.2072, allocations: 23.89 kB / 435.9 MB, free: 16.27 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002597/0.2075, allocations: 55.86 kB / 436 MB, free: 16.21 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.646e-05/0.2076, allocations: 111.8 kB / 436.1 MB, free: 16.1 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.266e-05/0.2076, allocations: 4 kB / 436.1 MB, free: 16.1 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.293e-05/0.2077, allocations: 27.84 kB / 436.1 MB, free: 16.07 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.673e-05/0.2078, allocations: 35.78 kB / 436.2 MB, free: 16.04 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.708e-06/0.2078, allocations: 4 kB / 436.2 MB, free: 16.03 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001318/0.2079, allocations: 71.91 kB / 436.3 MB, free: 15.96 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.238e-05/0.208, allocations: 23.92 kB / 436.3 MB, free: 15.94 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.604e-05/0.208, allocations: 61.38 kB / 436.3 MB, free: 15.87 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.2082, allocations: 129.8 kB / 436.5 MB, free: 15.75 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.2082, allocations: 0 / 436.5 MB, free: 15.75 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2082, allocations: 0 / 436.5 MB, free: 15.75 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.2082, allocations: 4 kB / 436.5 MB, free: 15.74 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0002693/0.2085, allocations: 428.8 kB / 436.9 MB, free: 15.27 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.2085, allocations: 12.03 kB / 436.9 MB, free: 15.26 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.723e-05/0.2085, allocations: 42.75 kB / 436.9 MB, free: 15.21 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.773e-05/0.2086, allocations: 12.75 kB / 437 MB, free: 15.2 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.2087, allocations: 188.1 kB / 437.1 MB, free: 14.97 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.463e-06/0.2087, allocations: 384 / 437.1 MB, free: 14.97 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.2087, allocations: 7.922 kB / 437.1 MB, free: 14.96 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.2088, allocations: 89.67 kB / 437.2 MB, free: 14.87 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.2089, allocations: 0 / 437.2 MB, free: 14.87 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.2089, allocations: 0 / 437.2 MB, free: 14.87 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.2089, allocations: 0 / 437.2 MB, free: 14.87 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.199e-05/0.2089, allocations: 59.97 kB / 437.3 MB, free: 14.81 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.661e-05/0.209, allocations: 181.5 kB / 437.5 MB, free: 14.59 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.19e-05/0.2091, allocations: 102.4 kB / 437.6 MB, free: 14.48 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.331e-05/0.2092, allocations: 88.86 kB / 437.7 MB, free: 14.39 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.006e-06/0.2092, allocations: 4 kB / 437.7 MB, free: 14.38 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.378e-05/0.2092, allocations: 30.56 kB / 437.7 MB, free: 14.34 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 9.52e-07/0.2092, allocations: 0 / 437.7 MB, free: 14.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.0002989/0.2095, allocations: 307.2 kB / 438 MB, free: 14.03 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.2096, allocations: 101.1 kB / 438.1 MB, free: 13.91 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.529e-05/0.2096, allocations: 137.1 kB / 438.2 MB, free: 13.77 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.615e-06/0.2097, allocations: 25.7 kB / 438.2 MB, free: 13.74 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.675e-05/0.2097, allocations: 96.52 kB / 438.3 MB, free: 13.64 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.774e-05/0.2097, allocations: 78.75 kB / 438.4 MB, free: 13.57 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.397e-05/0.2098, allocations: 21.7 kB / 438.4 MB, free: 13.54 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.342e-05/0.2098, allocations: 326.8 kB / 438.8 MB, free: 13.21 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.528e-05/0.2099, allocations: 55.98 kB / 438.8 MB, free: 13.16 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.014e-05/0.2099, allocations: 63.97 kB / 438.9 MB, free: 13.09 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.2101, allocations: 240.9 kB / 439.1 MB, free: 12.84 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2101, allocations: 3.938 kB / 439.1 MB, free: 12.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000163/0.2102, allocations: 227 kB / 439.3 MB, free: 12.61 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.503e-05/0.2103, allocations: 65.66 kB / 439.4 MB, free: 12.54 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.2103, allocations: 4 kB / 439.4 MB, free: 12.53 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.2103, allocations: 3.938 kB / 439.4 MB, free: 12.53 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.212e-06/0.2103, allocations: 0 / 439.4 MB, free: 12.53 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.2103, allocations: 0 / 439.4 MB, free: 12.53 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.297e-05/0.2104, allocations: 11.84 kB / 439.4 MB, free: 12.52 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.758e-05/0.2104, allocations: 8.062 kB / 439.4 MB, free: 12.51 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 9.64e-05/0.2105, allocations: 195.4 kB / 439.6 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.898e-05/0.2105, allocations: 15.81 kB / 439.6 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.186e-05/0.2105, allocations: 9.188 kB / 439.6 MB, free: 12.28 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.2106, allocations: 3.984 kB / 439.6 MB, free: 12.28 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.2106, allocations: 0 / 439.6 MB, free: 12.28 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-06/0.2106, allocations: 0 / 439.6 MB, free: 12.28 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.275e-05/0.2107, allocations: 201.4 kB / 439.8 MB, free: 12.03 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2107, allocations: 4 kB / 439.8 MB, free: 12.03 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-07/0.2107, allocations: 4 kB / 439.8 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2107, allocations: 0 / 439.8 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.2107, allocations: 4 kB / 439.9 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2107, allocations: 3.984 kB / 439.9 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2107, allocations: 0 / 439.9 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003747/0.2111, allocations: 0.5099 MB / 440.4 MB, free: 11.48 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.231e-05/0.2111, allocations: 88.95 kB / 440.5 MB, free: 11.38 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.2111, allocations: 7.984 kB / 440.5 MB, free: 11.37 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.373e-05/0.2112, allocations: 8.031 kB / 440.5 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.251e-05/0.2112, allocations: 4 kB / 440.5 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-06/0.2112, allocations: 4 kB / 440.5 MB, free: 11.35 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.363e-05/0.2113, allocations: 103.3 kB / 440.6 MB, free: 11.25 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2113, allocations: 0 / 440.6 MB, free: 11.25 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002252/0.2115, allocations: 44 kB / 440.6 MB, free: 11.21 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.0005937/0.2121, allocations: 1.063 MB / 441.7 MB, free: 10.11 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004447/0.2125, allocations: 0.6983 MB / 442.4 MB, free: 9.395 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.2126, allocations: 7.938 kB / 442.4 MB, free: 9.387 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002848/0.2128, allocations: 0.5657 MB / 443 MB, free: 8.809 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.2131, allocations: 19.98 kB / 443 MB, free: 8.789 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001736/0.2148, allocations: 2.505 MB / 445.5 MB, free: 6.195 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001368/0.215, allocations: 0.7241 MB / 446.2 MB, free: 5.445 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.974e-05/0.215, allocations: 0 / 446.2 MB, free: 5.445 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.505e-05/0.215, allocations: 31.42 kB / 446.2 MB, free: 5.414 MB / 318.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2151, allocations: 4.031 kB / 446.2 MB, free: 5.41 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01588/0.2309, allocations: 3.197 MB / 449.4 MB, free: 2.273 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001485/0.2311, allocations: 206 kB / 449.6 MB, free: 2.02 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.743/1.974, allocations: 4 kB / 449.6 MB, free: 2.016 MB / 318.1 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe 2>&1)