Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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_matrixEqCirc3,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3",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.001728/0.001728, allocations: 108 kB / 17.06 MB, free: 6.117 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.00201/0.00201, allocations: 199.9 kB / 18 MB, free: 5.191 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.429/1.429, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1879/0.1879, allocations: 38.04 MB / 329.9 MB, free: 8.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 59.91 kB / 457.7 MB, free: 7.363 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3948/0.3963, allocations: 58.06 MB / 0.5036 GB, free: 7.477 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.003149/0.3995, allocations: 2.054 MB / 0.5056 GB, free: 6.043 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006871/0.4002, allocations: 0.5201 MB / 0.5061 GB, free: 5.695 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.37e-05/0.4002, allocations: 1.406 kB / 0.5061 GB, free: 5.695 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001394/0.4004, allocations: 10.39 kB / 0.5061 GB, free: 5.691 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.851e-05/0.4005, allocations: 33.78 kB / 0.5062 GB, free: 5.672 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003423/0.4008, allocations: 59.83 kB / 0.5062 GB, free: 5.652 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001299/0.401, allocations: 70.31 kB / 0.5063 GB, free: 5.621 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.371e-05/0.401, allocations: 3.766 kB / 0.5063 GB, free: 5.621 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.909e-05/0.4011, allocations: 29.02 kB / 0.5063 GB, free: 5.609 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.952e-05/0.4012, allocations: 28.44 kB / 0.5064 GB, free: 5.598 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.648e-06/0.4012, allocations: 1.125 kB / 0.5064 GB, free: 5.598 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001753/0.4014, allocations: 78.34 kB / 0.5064 GB, free: 5.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.341e-05/0.4014, allocations: 41.92 kB / 0.5065 GB, free: 5.559 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.748e-05/0.4015, allocations: 42.62 kB / 0.5065 GB, free: 5.527 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002071/0.4017, allocations: 149.2 kB / 0.5067 GB, free: 5.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.4017, allocations: 2.25 kB / 0.5067 GB, free: 5.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4017, allocations: 4 kB / 0.5067 GB, free: 5.477 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.135e-05/0.4017, allocations: 0 / 0.5067 GB, free: 5.477 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0003908/0.4021, allocations: 477.5 kB / 0.5071 GB, free: 5.031 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.4022, allocations: 13.52 kB / 0.5071 GB, free: 5.027 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.465e-05/0.4022, allocations: 44.3 kB / 0.5072 GB, free: 4.984 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.709e-05/0.4023, allocations: 18.83 kB / 0.5072 GB, free: 4.973 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.4024, allocations: 198.5 kB / 0.5074 GB, free: 4.754 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.4024, allocations: 1.094 kB / 0.5074 GB, free: 4.754 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.4024, allocations: 8.719 kB / 0.5074 GB, free: 4.746 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.4026, allocations: 136.2 kB / 0.5075 GB, free: 4.684 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.4026, allocations: 0.6094 kB / 0.5075 GB, free: 4.684 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.4026, allocations: 0 / 0.5075 GB, free: 4.684 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.4027, allocations: 1.188 kB / 0.5075 GB, free: 4.684 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.876e-05/0.4028, allocations: 94.39 kB / 0.5076 GB, free: 4.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000136/0.4029, allocations: 204.8 kB / 0.5078 GB, free: 4.441 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/0.403, allocations: 151.8 kB / 0.508 GB, free: 4.359 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.4032, allocations: 146.6 kB / 0.5081 GB, free: 4.289 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.758e-06/0.4032, allocations: 5.094 kB / 0.5081 GB, free: 4.285 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.861e-05/0.4032, allocations: 32.52 kB / 0.5081 GB, free: 4.246 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 1.032e-06/0.4032, allocations: 0 / 0.5081 GB, free: 4.246 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.0005977/0.4038, allocations: 474.6 kB / 0.5086 GB, free: 4.098 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.912e-05/0.4039, allocations: 104.2 kB / 0.5087 GB, free: 4.004 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.404, allocations: 145.6 kB / 0.5088 GB, free: 3.887 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.275e-06/0.404, allocations: 27.08 kB / 0.5088 GB, free: 3.855 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.55e-05/0.4041, allocations: 99.11 kB / 0.5089 GB, free: 3.762 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.002e-05/0.4042, allocations: 133.1 kB / 0.5091 GB, free: 3.656 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.425e-05/0.4042, allocations: 35.41 kB / 0.5091 GB, free: 3.633 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.191e-05/0.4043, allocations: 336.9 kB / 0.5094 GB, free: 3.309 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.548e-05/0.4044, allocations: 92.58 kB / 0.5095 GB, free: 3.285 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.211e-05/0.4045, allocations: 95.56 kB / 0.5096 GB, free: 3.262 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003188/0.4048, allocations: 364 kB / 0.51 GB, free: 3.133 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4048, allocations: 0 / 0.51 GB, free: 3.133 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003232/0.4051, allocations: 323.4 kB / 0.5103 GB, free: 3.008 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.314e-05/0.4052, allocations: 90.67 kB / 0.5103 GB, free: 2.965 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.4053, allocations: 0 / 0.5103 GB, free: 2.965 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.4053, allocations: 1.188 kB / 0.5103 GB, free: 2.965 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.282e-06/0.4053, allocations: 0 / 0.5103 GB, free: 2.965 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.4053, allocations: 5.812 kB / 0.5104 GB, free: 2.961 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.884e-05/0.4053, allocations: 19.53 kB / 0.5104 GB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.69e-05/0.4054, allocations: 7.125 kB / 0.5104 GB, free: 2.949 MB / 382.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 0.0001693/0.4056, allocations: 239.4 kB / 0.5106 GB, free: 2.785 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.096e-05/0.4056, allocations: 24.86 kB / 0.5106 GB, free: 2.773 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.584e-05/0.4056, allocations: 15.48 kB / 0.5106 GB, free: 2.758 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.4056, allocations: 1.969 kB / 0.5106 GB, free: 2.758 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.4056, allocations: 5.766 kB / 0.5107 GB, free: 2.754 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.4056, allocations: 0 / 0.5107 GB, free: 2.754 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001336/0.4058, allocations: 226.5 kB / 0.5109 GB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4058, allocations: 0 / 0.5109 GB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.603e-06/0.4058, allocations: 0.5625 kB / 0.5109 GB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.4058, allocations: 1.281 kB / 0.5109 GB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/0.4058, allocations: 7.109 kB / 0.5109 GB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.4058, allocations: 0 / 0.5109 GB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4058, allocations: 0 / 0.5109 GB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009377/0.4068, allocations: 0.9079 MB / 0.5118 GB, free: 2.277 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.206e-05/0.4068, allocations: 95.08 kB / 0.5119 GB, free: 2.172 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.88e-05/0.4068, allocations: 6.594 kB / 0.5119 GB, free: 2.172 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.501e-05/0.4069, allocations: 6.156 kB / 0.5119 GB, free: 2.172 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.384e-05/0.4069, allocations: 11.17 kB / 0.5119 GB, free: 2.164 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.4069, allocations: 6.562 kB / 0.5119 GB, free: 2.164 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.084e-05/0.407, allocations: 122.8 kB / 0.512 GB, free: 2.074 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.407, allocations: 5.188 kB / 0.512 GB, free: 2.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003018/0.4073, allocations: 62.59 kB / 0.5121 GB, free: 2.066 MB / 382.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.001164/0.4085, allocations: 1.451 MB / 0.5135 GB, free: 1.285 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001485/0.41, allocations: 1.585 MB / 0.515 GB, free: 476 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.41, allocations: 0 / 0.515 GB, free: 476 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001003/0.411, allocations: 1.374 MB / 0.5164 GB, free: 15.68 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.4113, allocations: 27.42 kB / 0.5164 GB, free: 15.67 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003771/0.4151, allocations: 3.463 MB / 0.5198 GB, free: 13.99 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.4154, allocations: 0.7453 MB / 0.5205 GB, free: 13.29 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.343e-05/0.4155, allocations: 1.625 kB / 0.5205 GB, free: 13.29 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.858e-05/0.4156, allocations: 41.17 kB / 0.5205 GB, free: 13.26 MB / 398.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4156, allocations: 1.406 kB / 0.5205 GB, free: 13.26 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02277/0.4383, allocations: 5.002 MB / 0.5254 GB, free: 12.64 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.634/8.072, allocations: 13.56 kB / 0.5254 GB, free: 12.62 MB / 398.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches