Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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_matrixEqCirc2,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2",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.001198/0.001198, allocations: 96.05 kB / 16.3 MB, free: 5.535 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.001447/0.001447, allocations: 183.5 kB / 17.2 MB, free: 5.469 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.249/1.249, allocations: 223.2 MB / 241.1 MB, free: 14.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1637/0.1637, allocations: 38.09 MB / 330.3 MB, free: 8.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003005/0.0003006, allocations: 8 kB / 400 MB, free: 34.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1064, allocations: 59.17 MB / 459.2 MB, free: 7.336 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.001938/0.1083, allocations: 1.717 MB / 460.9 MB, free: 5.598 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005763/0.1089, allocations: 499.2 kB / 461.4 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.264e-05/0.109, allocations: 0 / 461.4 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001244/0.1091, allocations: 7.922 kB / 461.4 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.198e-05/0.1092, allocations: 15.97 kB / 461.4 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002309/0.1094, allocations: 47.92 kB / 461.5 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.859e-05/0.1095, allocations: 35.88 kB / 461.5 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.417e-05/0.1095, allocations: 11.94 kB / 461.5 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.189e-05/0.1096, allocations: 23.91 kB / 461.6 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.202e-05/0.1096, allocations: 11.94 kB / 461.6 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.1097, allocations: 4 kB / 461.6 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.1098, allocations: 51.81 kB / 461.6 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.539e-05/0.1098, allocations: 23.91 kB / 461.7 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.637e-05/0.1099, allocations: 37.64 kB / 461.7 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000106/0.11, allocations: 72.12 kB / 461.8 MB, free: 4.766 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.11, allocations: 0 / 461.8 MB, free: 4.766 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.11, allocations: 0 / 461.8 MB, free: 4.766 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.11, allocations: 4 kB / 461.8 MB, free: 4.762 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0003367/0.1103, allocations: 428.6 kB / 462.2 MB, free: 4.289 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.1104, allocations: 12.03 kB / 462.2 MB, free: 4.277 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.903e-05/0.1104, allocations: 38.56 kB / 462.2 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.588e-05/0.1104, allocations: 7.906 kB / 462.2 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.1106, allocations: 182.8 kB / 462.4 MB, free: 4.004 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.003e-06/0.1106, allocations: 0 / 462.4 MB, free: 4.004 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-06/0.1106, allocations: 3.953 kB / 462.4 MB, free: 4 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.1108, allocations: 89.67 kB / 462.5 MB, free: 3.906 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.05e-06/0.1108, allocations: 4 kB / 462.5 MB, free: 3.902 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.1108, allocations: 0 / 462.5 MB, free: 3.902 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1108, allocations: 0 / 462.5 MB, free: 3.902 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.024e-05/0.1109, allocations: 59.97 kB / 462.6 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001357/0.111, allocations: 177.5 kB / 462.7 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.915e-05/0.1111, allocations: 102.5 kB / 462.8 MB, free: 3.512 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.392e-06/0.1111, allocations: 3.984 kB / 462.8 MB, free: 3.508 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.1111, allocations: 46.48 kB / 462.9 MB, free: 3.453 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.022e-06/0.1112, allocations: 0 / 462.9 MB, free: 3.453 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.000412/0.1116, allocations: 388.5 kB / 463.3 MB, free: 3.043 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.886e-05/0.1116, allocations: 93.11 kB / 463.4 MB, free: 2.934 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.904e-05/0.1117, allocations: 140.2 kB / 463.5 MB, free: 2.789 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.1117, allocations: 25.7 kB / 463.5 MB, free: 2.758 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.999e-05/0.1118, allocations: 92.58 kB / 463.6 MB, free: 2.664 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.272e-05/0.1119, allocations: 74.89 kB / 463.7 MB, free: 2.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-06/0.1119, allocations: 3.938 kB / 463.7 MB, free: 2.586 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.153e-05/0.112, allocations: 326.9 kB / 464 MB, free: 2.258 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.697e-05/0.112, allocations: 59.97 kB / 464.1 MB, free: 2.199 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.888e-05/0.1121, allocations: 55.98 kB / 464.1 MB, free: 2.145 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/0.1122, allocations: 123.5 kB / 464.2 MB, free: 2.02 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1122, allocations: 0 / 464.2 MB, free: 2.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002002/0.1124, allocations: 222.4 kB / 464.5 MB, free: 1.793 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.736e-05/0.1125, allocations: 69.61 kB / 464.5 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.1125, allocations: 7.922 kB / 464.5 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.1125, allocations: 0 / 464.5 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-07/0.1125, allocations: 4.062 kB / 464.5 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-06/0.1125, allocations: 0 / 464.5 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.504e-05/0.1126, allocations: 15.84 kB / 464.6 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.862e-05/0.1126, allocations: 4 kB / 464.6 MB, free: 1.688 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.0001361/0.1127, allocations: 191.5 kB / 464.7 MB, free: 1.484 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.008e-05/0.1127, allocations: 15.81 kB / 464.8 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.825e-05/0.1128, allocations: 17.14 kB / 464.8 MB, free: 1.453 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1128, allocations: 3.938 kB / 464.8 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1128, allocations: 4 kB / 464.8 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.733e-06/0.1128, allocations: 4 kB / 464.8 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001176/0.1129, allocations: 197.5 kB / 465 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1129, allocations: 0 / 465 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.4e-07/0.1129, allocations: 0 / 465 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1129, allocations: 0 / 465 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.113, allocations: 8 kB / 465 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.113, allocations: 3.953 kB / 465 MB, free: 1.188 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.113, allocations: 0 / 465 MB, free: 1.188 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004657/0.1134, allocations: 0.4984 MB / 465.5 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.811e-05/0.1135, allocations: 100.8 kB / 465.6 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.185e-05/0.1135, allocations: 4 kB / 465.6 MB, free: 0.543 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.431e-05/0.1135, allocations: 4 kB / 465.6 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.241e-05/0.1136, allocations: 3.953 kB / 465.6 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.1136, allocations: 8 kB / 465.6 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.003e-05/0.1137, allocations: 105.4 kB / 465.7 MB, free: 436 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1137, allocations: 0 / 465.7 MB, free: 436 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002199/0.1139, allocations: 44 kB / 465.8 MB, free: 392 kB / 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.0007575/0.1147, allocations: 1.059 MB / 466.8 MB, free: 15.29 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005663/0.1152, allocations: 0.6945 MB / 467.5 MB, free: 14.58 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1152, allocations: 0 / 467.5 MB, free: 14.58 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003904/0.1156, allocations: 0.5696 MB / 468.1 MB, free: 14 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001696/0.1158, allocations: 20.05 kB / 468.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.1171, allocations: 1.267 MB / 469.4 MB, free: 12.67 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/0.1174, allocations: 0.728 MB / 470.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.838e-05/0.1174, allocations: 4 kB / 470.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.452e-05/0.1175, allocations: 31.36 kB / 470.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1175, allocations: 3.938 kB / 470.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01279/0.1303, allocations: 3.178 MB / 473.3 MB, free: 8.859 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002076/0.1305, allocations: 196.3 kB / 473.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.563/1.693, allocations: 0 / 473.5 MB, free: 8.625 MB / 350.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2_res.mat does not exist to compare? outputFormat=mat