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.001366/0.001366, allocations: 110.5 kB / 16.51 MB, free: 6.707 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.001188/0.001188, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.401/1.401, allocations: 205.1 MB / 223.3 MB, free: 12.49 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: 37.98 MB / 308.6 MB, free: 6.246 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.001358/0.001358, allocations: 75.83 kB / 374.7 MB, free: 4.004 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2426, allocations: 55.23 MB / 430 MB, free: 19.76 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.002548/0.2452, allocations: 2.086 MB / 432.1 MB, free: 17.65 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005421/0.2457, allocations: 0.5699 MB / 432.6 MB, free: 17.08 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.849e-05/0.2458, allocations: 4 kB / 432.6 MB, free: 17.07 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001411/0.2459, allocations: 11.92 kB / 432.6 MB, free: 17.06 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.069e-05/0.246, allocations: 27.89 kB / 432.7 MB, free: 17.04 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001892/0.2462, allocations: 59.86 kB / 432.7 MB, free: 16.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.067e-05/0.2463, allocations: 115.6 kB / 432.8 MB, free: 16.86 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.685e-05/0.2463, allocations: 4 kB / 432.8 MB, free: 16.86 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.934e-05/0.2464, allocations: 31.84 kB / 432.9 MB, free: 16.83 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.073e-05/0.2464, allocations: 27.89 kB / 432.9 MB, free: 16.8 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.065e-06/0.2464, allocations: 4 kB / 432.9 MB, free: 16.8 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.2466, allocations: 75.83 kB / 433 MB, free: 16.72 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.248e-05/0.2466, allocations: 15.94 kB / 433 MB, free: 16.71 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.323e-05/0.2466, allocations: 15.86 kB / 433 MB, free: 16.69 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001271/0.2468, allocations: 98.05 kB / 433.1 MB, free: 16.6 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.2468, allocations: 3.938 kB / 433.1 MB, free: 16.59 MB / 318.1 MB Notification: Performance of FrontEnd: time 6.71e-07/0.2468, allocations: 4 kB / 433.1 MB, free: 16.59 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.955e-06/0.2468, allocations: 0 / 433.1 MB, free: 16.59 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.0002512/0.247, allocations: 385 kB / 433.5 MB, free: 16.16 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.2471, allocations: 11.97 kB / 433.5 MB, free: 16.15 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.211e-05/0.2471, allocations: 38.75 kB / 433.5 MB, free: 16.1 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.69e-05/0.2471, allocations: 4.844 kB / 433.5 MB, free: 16.1 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.2472, allocations: 184.3 kB / 433.7 MB, free: 15.88 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.185e-06/0.2473, allocations: 384 / 433.7 MB, free: 15.88 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.2473, allocations: 3.938 kB / 433.7 MB, free: 15.88 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.939e-05/0.2474, allocations: 49.69 kB / 433.8 MB, free: 15.82 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.29e-06/0.2474, allocations: 0 / 433.8 MB, free: 15.82 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-06/0.2474, allocations: 4 kB / 433.8 MB, free: 15.82 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.2474, allocations: 4 kB / 433.8 MB, free: 15.81 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.946e-05/0.2474, allocations: 19.92 kB / 433.8 MB, free: 15.79 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.304e-05/0.2475, allocations: 165.7 kB / 434 MB, free: 15.58 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.85e-05/0.2476, allocations: 46.5 kB / 434 MB, free: 15.53 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.839e-05/0.2476, allocations: 36.88 kB / 434 MB, free: 15.49 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.591e-06/0.2476, allocations: 0 / 434 MB, free: 15.49 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.32e-05/0.2476, allocations: 30.56 kB / 434.1 MB, free: 15.45 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 8.11e-07/0.2476, allocations: 0 / 434.1 MB, free: 15.45 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001774/0.2478, allocations: 147.1 kB / 434.2 MB, free: 15.29 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/0.2479, allocations: 89.14 kB / 434.3 MB, free: 15.19 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.438e-05/0.2479, allocations: 113.8 kB / 434.4 MB, free: 15.07 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.853e-06/0.2479, allocations: 25.7 kB / 434.4 MB, free: 15.04 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.369e-05/0.248, allocations: 92.12 kB / 434.5 MB, free: 14.94 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.248, allocations: 19.59 kB / 434.6 MB, free: 14.92 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-05/0.248, allocations: 25.7 kB / 434.6 MB, free: 14.89 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.317e-05/0.2481, allocations: 314.8 kB / 434.9 MB, free: 14.57 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.449e-05/0.2481, allocations: 19.98 kB / 434.9 MB, free: 14.55 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.078e-05/0.2481, allocations: 27.98 kB / 434.9 MB, free: 14.53 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.954e-05/0.2482, allocations: 124.5 kB / 435.1 MB, free: 14.39 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2482, allocations: 3.938 kB / 435.1 MB, free: 14.39 MB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.34e-05/0.2483, allocations: 127.4 kB / 435.2 MB, free: 14.25 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.399e-05/0.2483, allocations: 41.69 kB / 435.2 MB, free: 14.2 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.2484, allocations: 0 / 435.2 MB, free: 14.2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.2484, allocations: 3.984 kB / 435.2 MB, free: 14.2 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-07/0.2484, allocations: 0 / 435.2 MB, free: 14.2 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.2484, allocations: 0 / 435.2 MB, free: 14.2 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.213e-05/0.2484, allocations: 12 kB / 435.2 MB, free: 14.19 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.2484, allocations: 4 kB / 435.2 MB, free: 14.18 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 6.153e-05/0.2485, allocations: 155.5 kB / 435.4 MB, free: 14.02 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.275e-05/0.2485, allocations: 7.906 kB / 435.4 MB, free: 14.01 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.11e-05/0.2485, allocations: 12.36 kB / 435.4 MB, free: 14 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.2485, allocations: 0 / 435.4 MB, free: 14 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.2485, allocations: 0 / 435.4 MB, free: 14 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.2485, allocations: 0 / 435.4 MB, free: 14 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.92e-05/0.2486, allocations: 165.6 kB / 435.6 MB, free: 13.79 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.2486, allocations: 0 / 435.6 MB, free: 13.79 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.2486, allocations: 4 kB / 435.6 MB, free: 13.78 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.2486, allocations: 0 / 435.6 MB, free: 13.78 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.2486, allocations: 4 kB / 435.6 MB, free: 13.78 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.2486, allocations: 0 / 435.6 MB, free: 13.78 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2486, allocations: 4.312 kB / 435.6 MB, free: 13.77 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001763/0.2488, allocations: 218.6 kB / 435.8 MB, free: 13.54 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.502e-05/0.2489, allocations: 85.02 kB / 435.9 MB, free: 13.43 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.2489, allocations: 0 / 435.9 MB, free: 13.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.473e-05/0.2489, allocations: 11.97 kB / 435.9 MB, free: 13.42 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.388e-05/0.2489, allocations: 7.984 kB / 435.9 MB, free: 13.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.2489, allocations: 4 kB / 435.9 MB, free: 13.41 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.736e-05/0.249, allocations: 91.27 kB / 436 MB, free: 13.32 MB / 318.1 MB Notification: Performance of sort global known variables: time 6.91e-07/0.249, allocations: 0 / 436 MB, free: 13.32 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001999/0.2492, allocations: 31.94 kB / 436 MB, free: 13.29 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.0003491/0.2495, allocations: 0.7661 MB / 436.8 MB, free: 12.48 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00017/0.2497, allocations: 191.3 kB / 437 MB, free: 12.29 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.2497, allocations: 0 / 437 MB, free: 12.29 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.745e-05/0.2498, allocations: 147.4 kB / 437.1 MB, free: 12.13 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002078/0.25, allocations: 12.5 kB / 437.1 MB, free: 12.12 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009355/0.251, allocations: 1.545 MB / 438.7 MB, free: 10.49 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.898e-05/0.2511, allocations: 0.6926 MB / 439.4 MB, free: 9.77 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.257e-05/0.2511, allocations: 0 / 439.4 MB, free: 9.77 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.187e-05/0.2511, allocations: 15.44 kB / 439.4 MB, free: 9.754 MB / 318.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2511, allocations: 7.938 kB / 439.4 MB, free: 9.746 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01037/0.2615, allocations: 1.981 MB / 441.4 MB, free: 7.801 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001393/0.2617, allocations: 211.6 kB / 441.6 MB, free: 7.543 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.736/1.998, allocations: 4.047 kB / 441.6 MB, free: 7.539 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)