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.0009077/0.000908, allocations: 94.11 kB / 16.3 MB, free: 5.996 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.0009775/0.0009775, allocations: 180.4 kB / 17.2 MB, free: 5.914 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.524/1.524, allocations: 205.4 MB / 223.4 MB, free: 5.277 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3052/0.3052, allocations: 38.05 MB / 309.7 MB, free: 9.062 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.0004843/0.0004843, allocations: 16 kB / 376.6 MB, free: 15.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1041, allocations: 56.33 MB / 432.9 MB, free: 6.617 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.002224/0.1064, allocations: 1.718 MB / 434.6 MB, free: 4.879 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007583/0.1072, allocations: 0.5155 MB / 435.2 MB, free: 4.359 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.827e-05/0.1073, allocations: 0 / 435.2 MB, free: 4.359 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002228/0.1075, allocations: 19.91 kB / 435.2 MB, free: 4.34 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 4.545e-05/0.1075, allocations: 23.91 kB / 435.2 MB, free: 4.316 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002216/0.1078, allocations: 43.92 kB / 435.2 MB, free: 4.273 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 6.602e-05/0.1078, allocations: 27.95 kB / 435.3 MB, free: 4.246 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.629e-05/0.1079, allocations: 3.938 kB / 435.3 MB, free: 4.242 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.332e-05/0.108, allocations: 27.91 kB / 435.3 MB, free: 4.215 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.861e-05/0.108, allocations: 11.92 kB / 435.3 MB, free: 4.203 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.548e-06/0.1081, allocations: 0 / 435.3 MB, free: 4.203 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.1082, allocations: 47.94 kB / 435.4 MB, free: 4.156 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.25e-05/0.1082, allocations: 7.938 kB / 435.4 MB, free: 4.148 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.827e-05/0.1083, allocations: 33.7 kB / 435.4 MB, free: 4.109 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.1084, allocations: 64.12 kB / 435.5 MB, free: 4.047 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1084, allocations: 0 / 435.5 MB, free: 4.047 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1084, allocations: 3.938 kB / 435.5 MB, free: 4.043 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.1084, allocations: 0 / 435.5 MB, free: 4.043 MB / 366.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.0004013/0.1088, allocations: 376.8 kB / 435.8 MB, free: 3.621 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.1089, allocations: 12.03 kB / 435.8 MB, free: 3.609 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.173e-05/0.1089, allocations: 34.52 kB / 435.9 MB, free: 3.566 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.931e-05/0.1089, allocations: 11.89 kB / 435.9 MB, free: 3.555 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001751/0.1091, allocations: 175 kB / 436.1 MB, free: 3.344 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.296e-06/0.1091, allocations: 0 / 436.1 MB, free: 3.344 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.1091, allocations: 4 kB / 436.1 MB, free: 3.34 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.1093, allocations: 53.67 kB / 436.1 MB, free: 3.281 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.142e-06/0.1093, allocations: 0 / 436.1 MB, free: 3.281 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.158e-06/0.1093, allocations: 0 / 436.1 MB, free: 3.281 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.1093, allocations: 3.953 kB / 436.1 MB, free: 3.277 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.549e-05/0.1094, allocations: 20 kB / 436.1 MB, free: 3.258 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001426/0.1095, allocations: 157.7 kB / 436.3 MB, free: 3.055 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.551e-05/0.1096, allocations: 46.52 kB / 436.3 MB, free: 3 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.254e-06/0.1096, allocations: 7.984 kB / 436.3 MB, free: 2.992 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.1096, allocations: 34.56 kB / 436.4 MB, free: 2.949 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 8.71e-07/0.1096, allocations: 0 / 436.4 MB, free: 2.949 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002889/0.1099, allocations: 220.4 kB / 436.6 MB, free: 2.703 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.567e-05/0.11, allocations: 85.05 kB / 436.7 MB, free: 2.602 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.932e-05/0.1101, allocations: 122 kB / 436.8 MB, free: 2.473 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.1101, allocations: 25.7 kB / 436.8 MB, free: 2.441 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.098e-05/0.1102, allocations: 92.17 kB / 436.9 MB, free: 2.348 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.48e-05/0.1102, allocations: 27.78 kB / 436.9 MB, free: 2.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-06/0.1102, allocations: 0 / 436.9 MB, free: 2.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.1104, allocations: 314.8 kB / 437.2 MB, free: 2.004 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.617e-05/0.1104, allocations: 23.98 kB / 437.3 MB, free: 1.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.697e-05/0.1104, allocations: 20.36 kB / 437.3 MB, free: 1.961 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.751e-05/0.1105, allocations: 61.94 kB / 437.4 MB, free: 1.895 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1105, allocations: 0 / 437.4 MB, free: 1.895 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001343/0.1106, allocations: 123.3 kB / 437.5 MB, free: 1.762 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.109e-05/0.1107, allocations: 49.69 kB / 437.5 MB, free: 1.707 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.1107, allocations: 0 / 437.5 MB, free: 1.707 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.1107, allocations: 0 / 437.5 MB, free: 1.707 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.194e-06/0.1107, allocations: 3.938 kB / 437.5 MB, free: 1.703 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.1108, allocations: 0 / 437.5 MB, free: 1.703 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.565e-05/0.1108, allocations: 15.86 kB / 437.5 MB, free: 1.688 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/0.1108, allocations: 11.97 kB / 437.6 MB, free: 1.676 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001201/0.1109, allocations: 151.5 kB / 437.7 MB, free: 1.512 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.189e-05/0.111, allocations: 4 kB / 437.7 MB, free: 1.508 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.327e-05/0.111, allocations: 8.375 kB / 437.7 MB, free: 1.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.111, allocations: 0 / 437.7 MB, free: 1.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.111, allocations: 4 kB / 437.7 MB, free: 1.496 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.111, allocations: 3.984 kB / 437.7 MB, free: 1.492 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001199/0.1111, allocations: 173.5 kB / 437.9 MB, free: 1.273 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1111, allocations: 0 / 437.9 MB, free: 1.273 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.1111, allocations: 0 / 437.9 MB, free: 1.273 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.1111, allocations: 0 / 437.9 MB, free: 1.273 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.437e-06/0.1112, allocations: 4 kB / 437.9 MB, free: 1.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.1112, allocations: 0 / 437.9 MB, free: 1.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1112, allocations: 0 / 437.9 MB, free: 1.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002325/0.1114, allocations: 210.7 kB / 438.1 MB, free: 1.039 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.908e-05/0.1115, allocations: 88.94 kB / 438.2 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.1115, allocations: 7.938 kB / 438.2 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.475e-05/0.1115, allocations: 0 / 438.2 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.32e-05/0.1115, allocations: 0 / 438.2 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-06/0.1116, allocations: 4 kB / 438.2 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.293e-05/0.1116, allocations: 91.27 kB / 438.3 MB, free: 0.832 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1116, allocations: 0 / 438.3 MB, free: 0.832 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002136/0.1119, allocations: 32.03 kB / 438.3 MB, free: 0.8008 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005775/0.1124, allocations: 0.7546 MB / 439.1 MB, free: 12 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002678/0.1127, allocations: 199.3 kB / 439.3 MB, free: 15.8 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.1127, allocations: 288 / 439.3 MB, free: 15.8 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.1129, allocations: 155.4 kB / 439.4 MB, free: 15.64 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001791/0.1131, allocations: 11.84 kB / 439.4 MB, free: 15.63 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008487/0.1139, allocations: 0.6508 MB / 440.1 MB, free: 14.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/0.1142, allocations: 0.6926 MB / 440.8 MB, free: 14.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.477e-05/0.1142, allocations: 4 kB / 440.8 MB, free: 14.21 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.307e-05/0.1143, allocations: 11.44 kB / 440.8 MB, free: 14.2 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1143, allocations: 0 / 440.8 MB, free: 14.2 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01276/0.127, allocations: 1.906 MB / 442.7 MB, free: 12.29 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001448/0.1272, allocations: 186.2 kB / 442.9 MB, free: 12.05 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.857/1.984, allocations: 0 / 442.9 MB, free: 12.05 MB / 382.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/linux/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) Environment - environmentSimulation: