Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.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_matrixEqCirc0,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0",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.0008637/0.0008637, allocations: 94.41 kB / 16.65 MB, free: 6.293 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.0009404/0.0009405, allocations: 177.2 kB / 17.56 MB, free: 5.898 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.255/1.255, 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.1685/0.1685, allocations: 38.05 MB / 310.1 MB, free: 5.906 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.0005005/0.0005006, allocations: 15.98 kB / 377.3 MB, free: 2.609 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2415, allocations: 56.33 MB / 433.6 MB, free: 18.64 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.001913/0.2435, allocations: 1.743 MB / 435.3 MB, free: 16.88 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005945/0.2441, allocations: 0.566 MB / 435.9 MB, free: 16.3 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.126e-05/0.2441, allocations: 3.938 kB / 435.9 MB, free: 16.3 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001626/0.2443, allocations: 11.98 kB / 435.9 MB, free: 16.29 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.983e-05/0.2444, allocations: 23.84 kB / 435.9 MB, free: 16.27 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002095/0.2446, allocations: 67.84 kB / 436 MB, free: 16.2 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.899e-05/0.2447, allocations: 107.8 kB / 436.1 MB, free: 16.09 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.091e-05/0.2448, allocations: 4 kB / 436.1 MB, free: 16.09 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.719e-05/0.2448, allocations: 35.78 kB / 436.2 MB, free: 16.05 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.307e-05/0.2449, allocations: 27.89 kB / 436.2 MB, free: 16.03 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.596e-06/0.2449, allocations: 4 kB / 436.2 MB, free: 16.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.245, allocations: 71.84 kB / 436.3 MB, free: 15.95 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.438e-05/0.2451, allocations: 11.94 kB / 436.3 MB, free: 15.94 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.768e-05/0.2451, allocations: 41.56 kB / 436.3 MB, free: 15.89 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001231/0.2452, allocations: 106 kB / 436.4 MB, free: 15.79 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2452, allocations: 4 kB / 436.4 MB, free: 15.79 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.2452, allocations: 0 / 436.4 MB, free: 15.79 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.2453, allocations: 0 / 436.4 MB, free: 15.79 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002338/0.2455, allocations: 384.9 kB / 436.8 MB, free: 15.36 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.2455, allocations: 12.02 kB / 436.8 MB, free: 15.35 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.109e-05/0.2456, allocations: 30.75 kB / 436.8 MB, free: 15.31 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.291e-05/0.2456, allocations: 12.84 kB / 436.8 MB, free: 15.3 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.2457, allocations: 168.4 kB / 437 MB, free: 15.09 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.382e-06/0.2457, allocations: 8.359 kB / 437 MB, free: 15.09 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.838e-06/0.2457, allocations: 7.938 kB / 437 MB, free: 15.08 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.865e-05/0.2458, allocations: 53.62 kB / 437.1 MB, free: 15.02 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.2458, allocations: 0 / 437.1 MB, free: 15.02 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-06/0.2458, allocations: 0 / 437.1 MB, free: 15.02 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.2459, allocations: 4 kB / 437.1 MB, free: 15.02 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.964e-05/0.2459, allocations: 15.98 kB / 437.1 MB, free: 15 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.701e-05/0.246, allocations: 165.6 kB / 437.3 MB, free: 14.79 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.084e-05/0.246, allocations: 50.44 kB / 437.3 MB, free: 14.73 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.851e-05/0.2461, allocations: 36.88 kB / 437.3 MB, free: 14.69 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.754e-06/0.2461, allocations: 4 kB / 437.4 MB, free: 14.69 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.62e-05/0.2461, allocations: 34.5 kB / 437.4 MB, free: 14.64 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.021e-06/0.2461, allocations: 0 / 437.4 MB, free: 14.64 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001718/0.2463, allocations: 139.5 kB / 437.5 MB, free: 14.5 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.676e-05/0.2463, allocations: 85.11 kB / 437.6 MB, free: 14.39 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.772e-05/0.2464, allocations: 113.8 kB / 437.7 MB, free: 14.27 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.484e-06/0.2464, allocations: 25.7 kB / 437.7 MB, free: 14.24 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.06e-05/0.2464, allocations: 92.16 kB / 437.8 MB, free: 14.15 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/0.2465, allocations: 23.56 kB / 437.9 MB, free: 14.12 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.978e-05/0.2465, allocations: 17.72 kB / 437.9 MB, free: 14.1 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.762e-05/0.2465, allocations: 314.8 kB / 438.2 MB, free: 13.79 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.465e-05/0.2466, allocations: 23.98 kB / 438.2 MB, free: 13.76 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.093e-05/0.2466, allocations: 23.94 kB / 438.2 MB, free: 13.74 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.358e-05/0.2467, allocations: 124.2 kB / 438.3 MB, free: 13.6 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2467, allocations: 3.938 kB / 438.4 MB, free: 13.6 MB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.464e-05/0.2468, allocations: 123.3 kB / 438.5 MB, free: 13.46 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.994e-05/0.2468, allocations: 41.69 kB / 438.5 MB, free: 13.42 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.2469, allocations: 0 / 438.5 MB, free: 13.42 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.2469, allocations: 3.938 kB / 438.5 MB, free: 13.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.182e-06/0.2469, allocations: 0 / 438.5 MB, free: 13.41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.2469, allocations: 0 / 438.5 MB, free: 13.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.214e-05/0.2469, allocations: 7.938 kB / 438.5 MB, free: 13.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.2469, allocations: 4 kB / 438.5 MB, free: 13.4 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.871e-05/0.247, allocations: 159.5 kB / 438.7 MB, free: 13.23 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.19e-05/0.247, allocations: 7.906 kB / 438.7 MB, free: 13.22 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.032e-05/0.2471, allocations: 12.41 kB / 438.7 MB, free: 13.21 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.2471, allocations: 0 / 438.7 MB, free: 13.21 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.2471, allocations: 3.938 kB / 438.7 MB, free: 13.21 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.2471, allocations: 0 / 438.7 MB, free: 13.21 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.073e-05/0.2472, allocations: 169.6 kB / 438.9 MB, free: 12.99 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2472, allocations: 4.375 kB / 438.9 MB, free: 12.99 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.2472, allocations: 0 / 438.9 MB, free: 12.99 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.2472, allocations: 0 / 438.9 MB, free: 12.99 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.2472, allocations: 4 kB / 438.9 MB, free: 12.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2472, allocations: 3.938 kB / 438.9 MB, free: 12.98 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2472, allocations: 4 kB / 438.9 MB, free: 12.98 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001749/0.2474, allocations: 218.9 kB / 439.1 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.021e-05/0.2474, allocations: 81.11 kB / 439.2 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.2474, allocations: 0 / 439.2 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.59e-05/0.2474, allocations: 7.984 kB / 439.2 MB, free: 12.63 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.672e-05/0.2475, allocations: 0 / 439.2 MB, free: 12.63 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.2475, allocations: 4 kB / 439.2 MB, free: 12.63 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.727e-05/0.2475, allocations: 91.27 kB / 439.3 MB, free: 12.54 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2475, allocations: 7.969 kB / 439.3 MB, free: 12.53 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002023/0.2477, allocations: 28 kB / 439.3 MB, free: 12.5 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.0003657/0.2481, allocations: 0.7545 MB / 440.1 MB, free: 11.71 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001647/0.2483, allocations: 195.3 kB / 440.3 MB, free: 11.51 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.2483, allocations: 4.094 kB / 440.3 MB, free: 11.5 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.246e-05/0.2484, allocations: 151.3 kB / 440.4 MB, free: 11.34 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002104/0.2486, allocations: 8 kB / 440.4 MB, free: 11.34 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009432/0.2495, allocations: 1.559 MB / 442 MB, free: 9.691 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001007/0.2497, allocations: 0.6926 MB / 442.7 MB, free: 8.973 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.178e-05/0.2497, allocations: 4.031 kB / 442.7 MB, free: 8.969 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.077e-05/0.2497, allocations: 18.94 kB / 442.7 MB, free: 8.953 MB / 318.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2497, allocations: 0 / 442.7 MB, free: 8.953 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02147/0.2712, allocations: 1.927 MB / 444.6 MB, free: 7.082 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001496/0.2714, allocations: 206 kB / 444.8 MB, free: 6.828 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.695/1.966, allocations: 4 kB / 444.8 MB, free: 6.824 MB / 318.1 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe 2>&1)