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.0009157/0.0009158, allocations: 94.06 kB / 16.65 MB, free: 6.582 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.001111/0.001111, allocations: 184.1 kB / 17.57 MB, free: 6.199 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.281/1.281, 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.1624/0.1624, allocations: 38.06 MB / 310.1 MB, free: 5.891 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.0004887/0.0004887, allocations: 16.56 kB / 377.3 MB, free: 2.598 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2157, allocations: 56.33 MB / 433.6 MB, free: 18.63 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.001679/0.2174, allocations: 1.747 MB / 435.3 MB, free: 16.86 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005183/0.2179, allocations: 0.566 MB / 435.9 MB, free: 16.29 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.732e-05/0.218, allocations: 0 / 435.9 MB, free: 16.29 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001061/0.2181, allocations: 11.92 kB / 435.9 MB, free: 16.28 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.842e-05/0.2182, allocations: 27.89 kB / 436 MB, free: 16.25 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002183/0.2184, allocations: 55.86 kB / 436 MB, free: 16.2 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.96e-05/0.2185, allocations: 115.7 kB / 436.1 MB, free: 16.09 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.671e-05/0.2185, allocations: 4 kB / 436.1 MB, free: 16.08 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6e-05/0.2186, allocations: 31.84 kB / 436.2 MB, free: 16.05 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.332e-05/0.2187, allocations: 35.83 kB / 436.2 MB, free: 16.02 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.785e-06/0.2187, allocations: 0 / 436.2 MB, free: 16.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.2188, allocations: 75.84 kB / 436.3 MB, free: 15.94 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.45e-05/0.2188, allocations: 43.84 kB / 436.3 MB, free: 15.9 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.444e-05/0.2189, allocations: 65.27 kB / 436.4 MB, free: 15.83 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001391/0.219, allocations: 161.7 kB / 436.5 MB, free: 15.67 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.219, allocations: 0 / 436.5 MB, free: 15.67 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.219, allocations: 0 / 436.5 MB, free: 15.67 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.2191, allocations: 0 / 436.5 MB, free: 15.67 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.0002779/0.2193, allocations: 472.6 kB / 437 MB, free: 15.16 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.2194, allocations: 12.03 kB / 437 MB, free: 15.14 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.641e-05/0.2194, allocations: 42.73 kB / 437 MB, free: 15.09 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.651e-05/0.2194, allocations: 16.75 kB / 437.1 MB, free: 15.08 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.2196, allocations: 208.1 kB / 437.3 MB, free: 14.84 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.621e-06/0.2196, allocations: 0 / 437.3 MB, free: 14.84 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.2196, allocations: 4 kB / 437.3 MB, free: 14.83 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.2197, allocations: 126.6 kB / 437.4 MB, free: 14.7 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.2197, allocations: 4 kB / 437.4 MB, free: 14.7 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.683e-06/0.2197, allocations: 3.938 kB / 437.4 MB, free: 14.7 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.2198, allocations: 0 / 437.4 MB, free: 14.7 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.346e-05/0.2198, allocations: 92.3 kB / 437.5 MB, free: 14.61 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001019/0.2199, allocations: 194.1 kB / 437.7 MB, free: 14.37 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.792e-05/0.22, allocations: 158.8 kB / 437.8 MB, free: 14.2 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.636e-05/0.2201, allocations: 141.2 kB / 438 MB, free: 14.06 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.853e-06/0.2201, allocations: 0 / 438 MB, free: 14.06 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.451e-05/0.2202, allocations: 34.56 kB / 438 MB, free: 14.02 MB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 1.333e-06/0.2202, allocations: 3.984 kB / 438 MB, free: 14.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.0003797/0.2205, allocations: 479.8 kB / 438.5 MB, free: 13.54 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.2206, allocations: 105.1 kB / 438.6 MB, free: 13.41 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.627e-05/0.2207, allocations: 146.4 kB / 438.7 MB, free: 13.25 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.574e-06/0.2207, allocations: 25.7 kB / 438.7 MB, free: 13.22 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.593e-05/0.2207, allocations: 104.7 kB / 438.8 MB, free: 13.11 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.159e-05/0.2208, allocations: 133.9 kB / 439 MB, free: 12.98 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.622e-05/0.2208, allocations: 33.73 kB / 439 MB, free: 12.94 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.573e-05/0.2209, allocations: 338.8 kB / 439.3 MB, free: 12.6 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.135e-05/0.2209, allocations: 91.97 kB / 439.4 MB, free: 12.51 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.304e-05/0.221, allocations: 87.97 kB / 439.5 MB, free: 12.43 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001913/0.2212, allocations: 365.4 kB / 439.9 MB, free: 12.05 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2212, allocations: 0 / 439.9 MB, free: 12.05 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002131/0.2214, allocations: 323.1 kB / 440.2 MB, free: 11.73 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.249e-05/0.2215, allocations: 89.62 kB / 440.3 MB, free: 11.63 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.2215, allocations: 0 / 440.3 MB, free: 11.63 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.2215, allocations: 4.062 kB / 440.3 MB, free: 11.63 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.242e-06/0.2215, allocations: 0 / 440.3 MB, free: 11.63 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.2215, allocations: 3.938 kB / 440.3 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.92e-05/0.2216, allocations: 23.69 kB / 440.3 MB, free: 11.6 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.895e-05/0.2216, allocations: 11.98 kB / 440.3 MB, free: 11.59 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.0001185/0.2217, allocations: 235.4 kB / 440.6 MB, free: 11.34 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.215e-05/0.2217, allocations: 23.81 kB / 440.6 MB, free: 11.32 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.039e-05/0.2217, allocations: 5.969 kB / 440.6 MB, free: 11.32 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.2218, allocations: 0 / 440.6 MB, free: 11.32 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.2218, allocations: 8 kB / 440.6 MB, free: 11.31 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.563e-06/0.2218, allocations: 0 / 440.6 MB, free: 11.31 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.154e-05/0.2219, allocations: 229.3 kB / 440.8 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.2219, allocations: 3.938 kB / 440.8 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.3e-07/0.2219, allocations: 0 / 440.8 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.2219, allocations: 0 / 440.8 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.2219, allocations: 8 kB / 440.8 MB, free: 11.03 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2219, allocations: 3.984 kB / 440.8 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2219, allocations: 0 / 440.8 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006323/0.2225, allocations: 0.9042 MB / 441.7 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.324e-05/0.2226, allocations: 104.7 kB / 441.8 MB, free: 9.973 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/0.2226, allocations: 8 kB / 441.8 MB, free: 9.965 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.014e-05/0.2226, allocations: 7.938 kB / 441.8 MB, free: 9.957 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.256e-05/0.2227, allocations: 8 kB / 441.9 MB, free: 9.949 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.2227, allocations: 8 kB / 441.9 MB, free: 9.941 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.374e-05/0.2227, allocations: 115.9 kB / 442 MB, free: 9.828 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2227, allocations: 0 / 442 MB, free: 9.828 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002263/0.223, allocations: 60 kB / 442 MB, free: 9.77 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.0007993/0.2238, allocations: 1.453 MB / 443.5 MB, free: 8.281 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008201/0.2246, allocations: 1.581 MB / 445.1 MB, free: 6.688 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2246, allocations: 3.938 kB / 445.1 MB, free: 6.684 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006102/0.2252, allocations: 1.366 MB / 446.4 MB, free: 5.305 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/0.2255, allocations: 32.08 kB / 446.5 MB, free: 5.273 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00228/0.2278, allocations: 3.494 MB / 450 MB, free: 1.695 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/0.2279, allocations: 0.7442 MB / 450.7 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.811e-05/0.2279, allocations: 7.938 kB / 450.7 MB, free: 0.918 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.489e-05/0.228, allocations: 43.36 kB / 450.8 MB, free: 0.875 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.228, allocations: 0 / 450.8 MB, free: 0.875 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01346/0.2414, allocations: 4.368 MB / 455.1 MB, free: 12.55 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002096/0.2417, allocations: 210 kB / 455.3 MB, free: 12.29 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.71/1.952, allocations: 0 / 455.3 MB, free: 12.29 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)