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.001275/0.001276, allocations: 106.1 kB / 17.06 MB, free: 6.027 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.00142/0.001421, allocations: 195 kB / 18 MB, free: 5.105 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.489/1.489, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1834/0.1834, allocations: 38.05 MB / 329.9 MB, free: 8.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 63.89 kB / 457.7 MB, free: 7.352 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3911/0.3926, allocations: 58.05 MB / 0.5036 GB, free: 7.484 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.00316/0.3958, allocations: 2.041 MB / 0.5056 GB, free: 6.055 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007056/0.3965, allocations: 0.5233 MB / 0.5061 GB, free: 5.703 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.329e-05/0.3966, allocations: 1.156 kB / 0.5061 GB, free: 5.703 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001285/0.3967, allocations: 10.3 kB / 0.5061 GB, free: 5.699 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.449e-05/0.3968, allocations: 33.31 kB / 0.5062 GB, free: 5.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000337/0.3972, allocations: 58.94 kB / 0.5062 GB, free: 5.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001368/0.3973, allocations: 67.55 kB / 0.5063 GB, free: 5.633 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.589e-05/0.3974, allocations: 8.219 kB / 0.5063 GB, free: 5.629 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.54e-05/0.3975, allocations: 29.3 kB / 0.5063 GB, free: 5.617 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.147e-05/0.3975, allocations: 28.16 kB / 0.5064 GB, free: 5.605 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.3976, allocations: 0 / 0.5064 GB, free: 5.605 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001763/0.3977, allocations: 74.5 kB / 0.5064 GB, free: 5.582 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.212e-05/0.3978, allocations: 28.75 kB / 0.5064 GB, free: 5.574 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.167e-05/0.3979, allocations: 32.41 kB / 0.5065 GB, free: 5.551 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002164/0.3981, allocations: 125.3 kB / 0.5066 GB, free: 5.516 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3981, allocations: 0 / 0.5066 GB, free: 5.516 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3981, allocations: 4.656 kB / 0.5066 GB, free: 5.512 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.3981, allocations: 1.062 kB / 0.5066 GB, free: 5.512 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0004073/0.3985, allocations: 446 kB / 0.507 GB, free: 5.074 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.3986, allocations: 13.14 kB / 0.507 GB, free: 5.07 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.659e-05/0.3986, allocations: 36.55 kB / 0.5071 GB, free: 5.031 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.386e-05/0.3987, allocations: 8.875 kB / 0.5071 GB, free: 5.027 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.3988, allocations: 195.9 kB / 0.5073 GB, free: 4.809 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.3988, allocations: 1.719 kB / 0.5073 GB, free: 4.809 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.3989, allocations: 5.859 kB / 0.5073 GB, free: 4.805 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.399, allocations: 90.75 kB / 0.5074 GB, free: 4.758 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.399, allocations: 1.125 kB / 0.5074 GB, free: 4.758 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.399, allocations: 3.938 kB / 0.5074 GB, free: 4.754 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.399, allocations: 1.156 kB / 0.5074 GB, free: 4.754 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.346e-05/0.3991, allocations: 60.78 kB / 0.5074 GB, free: 4.738 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001408/0.3993, allocations: 179.8 kB / 0.5076 GB, free: 4.535 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.3994, allocations: 103.9 kB / 0.5077 GB, free: 4.473 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.972e-05/0.3995, allocations: 86.05 kB / 0.5078 GB, free: 4.438 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.167e-06/0.3995, allocations: 4 kB / 0.5078 GB, free: 4.434 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.727e-05/0.3995, allocations: 32.2 kB / 0.5078 GB, free: 4.395 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.243e-06/0.3995, allocations: 0 / 0.5078 GB, free: 4.395 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0003921/0.3999, allocations: 298.2 kB / 0.5081 GB, free: 4.289 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.4, allocations: 97.53 kB / 0.5082 GB, free: 4.191 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.234e-05/0.4001, allocations: 137.5 kB / 0.5083 GB, free: 4.082 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.897e-06/0.4001, allocations: 26.41 kB / 0.5084 GB, free: 4.051 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.128e-05/0.4001, allocations: 97.44 kB / 0.5084 GB, free: 3.957 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.676e-05/0.4002, allocations: 75.8 kB / 0.5085 GB, free: 3.898 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.733e-05/0.4002, allocations: 26.31 kB / 0.5085 GB, free: 3.879 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.83e-05/0.4003, allocations: 328 kB / 0.5089 GB, free: 3.559 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.865e-05/0.4004, allocations: 56.56 kB / 0.5089 GB, free: 3.547 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.33e-05/0.4004, allocations: 57.52 kB / 0.509 GB, free: 3.535 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002178/0.4006, allocations: 248.1 kB / 0.5092 GB, free: 3.434 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.4007, allocations: 3.938 kB / 0.5092 GB, free: 3.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002746/0.4009, allocations: 226.5 kB / 0.5094 GB, free: 3.328 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.336e-05/0.401, allocations: 67.45 kB / 0.5095 GB, free: 3.289 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.401, allocations: 3.938 kB / 0.5095 GB, free: 3.289 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.4011, allocations: 1.25 kB / 0.5095 GB, free: 3.289 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.473e-06/0.4011, allocations: 4.641 kB / 0.5095 GB, free: 3.285 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.4011, allocations: 0 / 0.5095 GB, free: 3.285 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.746e-05/0.4011, allocations: 13.59 kB / 0.5095 GB, free: 3.277 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.403e-05/0.4011, allocations: 5.266 kB / 0.5095 GB, free: 3.277 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.000152/0.4013, allocations: 197.6 kB / 0.5097 GB, free: 3.121 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.4013, allocations: 17.59 kB / 0.5097 GB, free: 3.113 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.025e-05/0.4014, allocations: 12.97 kB / 0.5097 GB, free: 3.102 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.4014, allocations: 1.031 kB / 0.5097 GB, free: 3.102 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.4014, allocations: 0 / 0.5097 GB, free: 3.102 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.4014, allocations: 0 / 0.5097 GB, free: 3.102 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001292/0.4015, allocations: 203.8 kB / 0.5099 GB, free: 2.891 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.4015, allocations: 0.6562 kB / 0.5099 GB, free: 2.891 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.41e-07/0.4015, allocations: 0 / 0.5099 GB, free: 2.891 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.4015, allocations: 1.125 kB / 0.5099 GB, free: 2.891 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.4016, allocations: 5.422 kB / 0.5099 GB, free: 2.891 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.4016, allocations: 0 / 0.5099 GB, free: 2.891 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4016, allocations: 4 kB / 0.5099 GB, free: 2.887 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006488/0.4022, allocations: 0.5105 MB / 0.5104 GB, free: 2.703 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.443e-05/0.4023, allocations: 90.58 kB / 0.5105 GB, free: 2.602 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.676e-05/0.4023, allocations: 3.812 kB / 0.5105 GB, free: 2.602 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.773e-05/0.4023, allocations: 4.047 kB / 0.5105 GB, free: 2.602 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.323e-05/0.4024, allocations: 6.906 kB / 0.5105 GB, free: 2.598 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.4024, allocations: 5.562 kB / 0.5105 GB, free: 2.598 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.08e-05/0.4024, allocations: 105.7 kB / 0.5106 GB, free: 2.516 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4025, allocations: 1.406 kB / 0.5106 GB, free: 2.516 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002947/0.4028, allocations: 53.58 kB / 0.5107 GB, free: 2.504 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.0009295/0.4037, allocations: 1.049 MB / 0.5117 GB, free: 1.801 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007562/0.4045, allocations: 0.7064 MB / 0.5124 GB, free: 1.461 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4045, allocations: 4.094 kB / 0.5124 GB, free: 1.457 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004926/0.405, allocations: 0.5648 MB / 0.513 GB, free: 1.152 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.4053, allocations: 20.67 kB / 0.513 GB, free: 1.148 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002619/0.4079, allocations: 2.474 MB / 0.5154 GB, free: 15.7 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003595/0.4083, allocations: 0.7283 MB / 0.5161 GB, free: 14.99 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.744e-05/0.4083, allocations: 1.125 kB / 0.5161 GB, free: 14.99 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.771e-05/0.4083, allocations: 31.73 kB / 0.5161 GB, free: 14.96 MB / 398.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4084, allocations: 4.531 kB / 0.5161 GB, free: 14.96 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0219/0.4303, allocations: 3.685 MB / 0.5197 GB, free: 14.45 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.598/8.028, allocations: 13.12 kB / 0.5198 GB, free: 14.43 MB / 398.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/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) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches