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.001196/0.001197, allocations: 114.6 kB / 17.07 MB, free: 6.016 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.001148/0.001148, allocations: 189.4 kB / 18 MB, free: 5.098 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.415/1.415, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1902/0.1902, allocations: 38.04 MB / 329.9 MB, free: 8.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002125/0.002126, allocations: 63.91 kB / 457.7 MB, free: 7.367 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.3618, allocations: 58.06 MB / 0.5036 GB, free: 7.414 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.003018/0.3648, allocations: 2.038 MB / 0.5056 GB, free: 5.992 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007083/0.3655, allocations: 0.527 MB / 0.5061 GB, free: 5.633 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.244e-05/0.3656, allocations: 1.031 kB / 0.5061 GB, free: 5.633 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000141/0.3657, allocations: 9.656 kB / 0.5061 GB, free: 5.629 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.291e-05/0.3659, allocations: 24.52 kB / 0.5062 GB, free: 5.617 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003695/0.3662, allocations: 64.06 kB / 0.5062 GB, free: 5.594 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.3664, allocations: 66.42 kB / 0.5063 GB, free: 5.566 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.808e-05/0.3664, allocations: 4.656 kB / 0.5063 GB, free: 5.566 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.406e-05/0.3665, allocations: 28.69 kB / 0.5063 GB, free: 5.555 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.505e-05/0.3666, allocations: 32.28 kB / 0.5064 GB, free: 5.539 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.3666, allocations: 5.141 kB / 0.5064 GB, free: 5.535 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001803/0.3668, allocations: 69.92 kB / 0.5064 GB, free: 5.516 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.723e-05/0.3669, allocations: 42.12 kB / 0.5065 GB, free: 5.504 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.5e-05/0.3669, allocations: 46.39 kB / 0.5065 GB, free: 5.469 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002592/0.3672, allocations: 152.1 kB / 0.5067 GB, free: 5.422 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.3672, allocations: 0 / 0.5067 GB, free: 5.422 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3672, allocations: 0 / 0.5067 GB, free: 5.422 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.3672, allocations: 5.156 kB / 0.5067 GB, free: 5.418 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.000427/0.3676, allocations: 491.8 kB / 0.5071 GB, free: 4.957 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.542e-05/0.3677, allocations: 14.17 kB / 0.5071 GB, free: 4.953 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.381e-05/0.3678, allocations: 49.2 kB / 0.5072 GB, free: 4.906 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.12e-05/0.3678, allocations: 17.36 kB / 0.5072 GB, free: 4.895 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.368, allocations: 199.5 kB / 0.5074 GB, free: 4.676 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.368, allocations: 1.344 kB / 0.5074 GB, free: 4.676 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.656e-06/0.368, allocations: 1.375 kB / 0.5074 GB, free: 4.676 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.3682, allocations: 129.4 kB / 0.5075 GB, free: 4.617 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.3682, allocations: 0 / 0.5075 GB, free: 4.617 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.3682, allocations: 12.27 kB / 0.5075 GB, free: 4.609 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3682, allocations: 3.938 kB / 0.5075 GB, free: 4.605 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.3683, allocations: 90.86 kB / 0.5076 GB, free: 4.586 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001565/0.3685, allocations: 196.7 kB / 0.5078 GB, free: 4.375 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.3687, allocations: 153 kB / 0.508 GB, free: 4.293 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001337/0.3688, allocations: 138.2 kB / 0.5081 GB, free: 4.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.227e-05/0.3688, allocations: 4 kB / 0.5081 GB, free: 4.227 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.3689, allocations: 36.45 kB / 0.5081 GB, free: 4.184 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 1.212e-06/0.3689, allocations: 0 / 0.5081 GB, free: 4.184 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.0006442/0.3695, allocations: 479.5 kB / 0.5086 GB, free: 4.031 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.322e-05/0.3696, allocations: 109.5 kB / 0.5087 GB, free: 3.934 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.3697, allocations: 148.3 kB / 0.5088 GB, free: 3.816 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.3697, allocations: 25.7 kB / 0.5089 GB, free: 3.785 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.151e-05/0.3698, allocations: 99.73 kB / 0.509 GB, free: 3.691 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.528e-05/0.3699, allocations: 138.3 kB / 0.5091 GB, free: 3.582 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.972e-05/0.3699, allocations: 36.48 kB / 0.5091 GB, free: 3.559 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.684e-05/0.37, allocations: 335.4 kB / 0.5094 GB, free: 3.234 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.3701, allocations: 93.7 kB / 0.5095 GB, free: 3.211 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.3703, allocations: 90.36 kB / 0.5096 GB, free: 3.191 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003589/0.3706, allocations: 367.9 kB / 0.51 GB, free: 3.059 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3706, allocations: 1.156 kB / 0.51 GB, free: 3.059 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003462/0.371, allocations: 323.8 kB / 0.5103 GB, free: 2.934 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.034e-05/0.3711, allocations: 86.03 kB / 0.5104 GB, free: 2.895 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.3711, allocations: 3.984 kB / 0.5104 GB, free: 2.891 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.3711, allocations: 4.062 kB / 0.5104 GB, free: 2.887 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.893e-06/0.3711, allocations: 2.094 kB / 0.5104 GB, free: 2.887 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.3711, allocations: 0 / 0.5104 GB, free: 2.887 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.707e-05/0.3712, allocations: 19.91 kB / 0.5104 GB, free: 2.875 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.747e-05/0.3712, allocations: 7.969 kB / 0.5104 GB, free: 2.875 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.0001805/0.3714, allocations: 235.1 kB / 0.5106 GB, free: 2.715 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.035e-05/0.3714, allocations: 25.56 kB / 0.5106 GB, free: 2.703 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.76e-05/0.3714, allocations: 10.38 kB / 0.5107 GB, free: 2.691 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.3715, allocations: 3.938 kB / 0.5107 GB, free: 2.688 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.3715, allocations: 5.859 kB / 0.5107 GB, free: 2.684 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.3715, allocations: 0 / 0.5107 GB, free: 2.684 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001487/0.3716, allocations: 235.1 kB / 0.5109 GB, free: 2.461 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.3716, allocations: 0 / 0.5109 GB, free: 2.461 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.62e-07/0.3716, allocations: 3.938 kB / 0.5109 GB, free: 2.457 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.3716, allocations: 1.125 kB / 0.5109 GB, free: 2.457 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.3717, allocations: 6.609 kB / 0.5109 GB, free: 2.457 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.218e-05/0.3717, allocations: 5.031 kB / 0.5109 GB, free: 2.453 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3717, allocations: 0 / 0.5109 GB, free: 2.453 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009559/0.3726, allocations: 0.9079 MB / 0.5118 GB, free: 2.191 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.227e-05/0.3727, allocations: 99.17 kB / 0.5119 GB, free: 2.082 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.129e-05/0.3727, allocations: 5.906 kB / 0.5119 GB, free: 2.082 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.425e-05/0.3728, allocations: 7.359 kB / 0.5119 GB, free: 2.082 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.223e-05/0.3728, allocations: 6.344 kB / 0.5119 GB, free: 2.078 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.3728, allocations: 6.969 kB / 0.5119 GB, free: 2.078 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.25e-05/0.3729, allocations: 116.5 kB / 0.512 GB, free: 1.992 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3729, allocations: 0 / 0.512 GB, free: 1.992 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002791/0.3732, allocations: 62.38 kB / 0.5121 GB, free: 1.988 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.001295/0.3745, allocations: 1.46 MB / 0.5135 GB, free: 1.199 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001576/0.3761, allocations: 1.584 MB / 0.5151 GB, free: 388 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3761, allocations: 0 / 0.5151 GB, free: 388 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001075/0.3772, allocations: 1.363 MB / 0.5164 GB, free: 15.6 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.3774, allocations: 33.45 kB / 0.5164 GB, free: 15.59 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003946/0.3814, allocations: 3.47 MB / 0.5198 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004272/0.3818, allocations: 0.753 MB / 0.5205 GB, free: 13.21 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.169e-05/0.3819, allocations: 2.109 kB / 0.5205 GB, free: 13.21 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.757e-05/0.3819, allocations: 40.8 kB / 0.5206 GB, free: 13.17 MB / 398.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3819, allocations: 0 / 0.5206 GB, free: 13.17 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02852/0.4105, allocations: 4.869 MB / 0.5253 GB, free: 12.6 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.317/8.727, allocations: 11.75 kB / 0.5253 GB, free: 12.59 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