Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_matrixEqCirc1,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1",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.000993/0.0009928, allocations: 89.92 kB / 16.3 MB, free: 5.656 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.001028/0.001028, allocations: 184.3 kB / 17.19 MB, free: 5.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.247/1.247, allocations: 223.2 MB / 241.1 MB, free: 14.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.161/0.161, allocations: 38.08 MB / 330.3 MB, free: 8.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003186/0.0003187, allocations: 15.98 kB / 400.1 MB, free: 34.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1097, allocations: 59.17 MB / 459.2 MB, free: 7.316 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.002367/0.1121, allocations: 1.713 MB / 460.9 MB, free: 5.582 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006867/0.1128, allocations: 495.2 kB / 461.4 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.978e-05/0.1129, allocations: 4 kB / 461.4 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001455/0.113, allocations: 15.92 kB / 461.4 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.983e-05/0.1131, allocations: 7.984 kB / 461.5 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002321/0.1133, allocations: 51.92 kB / 461.5 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.522e-05/0.1134, allocations: 31.88 kB / 461.5 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.028e-05/0.1135, allocations: 0 / 461.5 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.159e-05/0.1136, allocations: 23.92 kB / 461.6 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.84e-05/0.1136, allocations: 15.91 kB / 461.6 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.326e-06/0.1136, allocations: 4 kB / 461.6 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.1137, allocations: 47.83 kB / 461.6 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.397e-05/0.1138, allocations: 15.98 kB / 461.6 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.703e-05/0.1138, allocations: 37.64 kB / 461.7 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001083/0.1139, allocations: 56.14 kB / 461.7 MB, free: 4.785 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.1139, allocations: 4 kB / 461.7 MB, free: 4.781 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.1139, allocations: 0 / 461.7 MB, free: 4.781 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.114, allocations: 3.938 kB / 461.7 MB, free: 4.777 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003546/0.1143, allocations: 384.9 kB / 462.1 MB, free: 4.348 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.1144, allocations: 12.03 kB / 462.1 MB, free: 4.336 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.574e-05/0.1144, allocations: 38.56 kB / 462.2 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.32e-05/0.1144, allocations: 15.89 kB / 462.2 MB, free: 4.273 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001706/0.1146, allocations: 167 kB / 462.3 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.1146, allocations: 4 kB / 462.3 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/0.1147, allocations: 7.891 kB / 462.4 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.1148, allocations: 61.67 kB / 462.4 MB, free: 3.992 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.1148, allocations: 0 / 462.4 MB, free: 3.992 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.1148, allocations: 0 / 462.4 MB, free: 3.992 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.1148, allocations: 3.938 kB / 462.4 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.253e-05/0.1149, allocations: 31.98 kB / 462.5 MB, free: 3.957 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000145/0.115, allocations: 173.5 kB / 462.6 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.432e-05/0.1151, allocations: 58.56 kB / 462.7 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.135e-06/0.1151, allocations: 3.938 kB / 462.7 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.1152, allocations: 38.5 kB / 462.7 MB, free: 3.621 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.002e-06/0.1152, allocations: 0 / 462.7 MB, free: 3.621 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003495/0.1155, allocations: 260.4 kB / 463 MB, free: 3.336 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.873e-05/0.1156, allocations: 85.11 kB / 463.1 MB, free: 3.234 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.1157, allocations: 125.9 kB / 463.2 MB, free: 3.102 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.1157, allocations: 25.7 kB / 463.2 MB, free: 3.07 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.27e-05/0.1158, allocations: 84.14 kB / 463.3 MB, free: 2.984 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.429e-05/0.1159, allocations: 43.44 kB / 463.3 MB, free: 2.941 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-06/0.1159, allocations: 224 / 463.3 MB, free: 2.941 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.116, allocations: 318.8 kB / 463.6 MB, free: 2.621 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.1e-05/0.1161, allocations: 35.92 kB / 463.7 MB, free: 2.586 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.088e-05/0.1161, allocations: 32.69 kB / 463.7 MB, free: 2.555 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.304e-05/0.1162, allocations: 73.8 kB / 463.8 MB, free: 2.477 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1162, allocations: 4.031 kB / 463.8 MB, free: 2.473 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001592/0.1164, allocations: 143.2 kB / 463.9 MB, free: 2.32 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.95e-05/0.1164, allocations: 57.62 kB / 464 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.1164, allocations: 0 / 464 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.1165, allocations: 0 / 464 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.71e-07/0.1165, allocations: 0 / 464 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.1165, allocations: 0 / 464 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.467e-05/0.1165, allocations: 4 kB / 464 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.1165, allocations: 4 kB / 464 MB, free: 2.25 MB / 334.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.0001334/0.1167, allocations: 167.5 kB / 464.2 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.624e-05/0.1167, allocations: 11.89 kB / 464.2 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.177e-05/0.1167, allocations: 16.31 kB / 464.2 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.1167, allocations: 0 / 464.2 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1167, allocations: 7.875 kB / 464.2 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1168, allocations: 0 / 464.2 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001345/0.1169, allocations: 181.5 kB / 464.4 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.1169, allocations: 0 / 464.4 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.1169, allocations: 3.938 kB / 464.4 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1169, allocations: 0 / 464.4 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.1169, allocations: 4 kB / 464.4 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.1169, allocations: 7.953 kB / 464.4 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1169, allocations: 0 / 464.4 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002976/0.1172, allocations: 270.6 kB / 464.6 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.211e-05/0.1173, allocations: 85.02 kB / 464.7 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/0.1173, allocations: 3.984 kB / 464.7 MB, free: 1.395 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.104e-05/0.1173, allocations: 8 kB / 464.7 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.154e-05/0.1174, allocations: 3.953 kB / 464.7 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.1174, allocations: 8.031 kB / 464.7 MB, free: 1.375 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.681e-05/0.1174, allocations: 91.27 kB / 464.8 MB, free: 1.285 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1174, allocations: 0 / 464.8 MB, free: 1.285 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002112/0.1177, allocations: 28 kB / 464.9 MB, free: 1.258 MB / 334.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.0005796/0.1182, allocations: 0.8247 MB / 465.7 MB, free: 408 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002936/0.1186, allocations: 291.3 kB / 466 MB, free: 104 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1186, allocations: 0 / 466 MB, free: 104 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000206/0.1188, allocations: 223.3 kB / 466.2 MB, free: 15.87 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001918/0.119, allocations: 11.95 kB / 466.2 MB, free: 15.86 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.12, allocations: 0.7964 MB / 467 MB, free: 15.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/0.1203, allocations: 0.7043 MB / 467.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.543e-05/0.1203, allocations: 0 / 467.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.682e-05/0.1203, allocations: 19.42 kB / 467.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1204, allocations: 3.938 kB / 467.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01354/0.1339, allocations: 2.263 MB / 470 MB, free: 12.16 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002111/0.1342, allocations: 196.9 kB / 470.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.579/1.713, allocations: 4 kB / 470.2 MB, free: 11.92 MB / 350.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1_res.mat does not exist to compare? outputFormat=mat