Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.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_matrixEqCirc0,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0",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.001658/0.001658, allocations: 109.2 kB / 17.06 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.001652/0.001651, allocations: 192 kB / 18 MB, free: 5.102 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.432/1.432, 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.1807/0.1807, allocations: 38.04 MB / 329.9 MB, free: 8.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003145/0.003145, allocations: 67.88 kB / 457.7 MB, free: 7.359 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3702/0.3733, allocations: 58.05 MB / 0.5036 GB, free: 7.441 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.002709/0.3761, allocations: 2.052 MB / 0.5056 GB, free: 6.008 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006239/0.3767, allocations: 0.5177 MB / 0.5061 GB, free: 5.656 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.814e-05/0.3768, allocations: 4 kB / 0.5061 GB, free: 5.652 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001566/0.3769, allocations: 14.8 kB / 0.5062 GB, free: 5.645 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.447e-05/0.377, allocations: 33.17 kB / 0.5062 GB, free: 5.625 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002623/0.3773, allocations: 58.53 kB / 0.5062 GB, free: 5.605 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000109/0.3774, allocations: 55.78 kB / 0.5063 GB, free: 5.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.067e-05/0.3775, allocations: 6.969 kB / 0.5063 GB, free: 5.586 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.296e-05/0.3775, allocations: 39.05 kB / 0.5063 GB, free: 5.566 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.719e-05/0.3776, allocations: 28.56 kB / 0.5064 GB, free: 5.555 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.648e-06/0.3776, allocations: 1.094 kB / 0.5064 GB, free: 5.555 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001509/0.3778, allocations: 83.11 kB / 0.5064 GB, free: 5.523 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.573e-05/0.3778, allocations: 11.7 kB / 0.5065 GB, free: 5.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.606e-05/0.3778, allocations: 17.39 kB / 0.5065 GB, free: 5.508 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001708/0.378, allocations: 95.11 kB / 0.5066 GB, free: 5.488 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.378, allocations: 0.5625 kB / 0.5066 GB, free: 5.488 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.378, allocations: 1.188 kB / 0.5066 GB, free: 5.488 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.419e-06/0.378, allocations: 0 / 0.5066 GB, free: 5.488 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002686/0.3783, allocations: 392.2 kB / 0.5069 GB, free: 5.078 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.3784, allocations: 17.83 kB / 0.507 GB, free: 5.07 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.954e-05/0.3784, allocations: 38.34 kB / 0.507 GB, free: 5.027 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.595e-05/0.3784, allocations: 3.406 kB / 0.507 GB, free: 5.027 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.3785, allocations: 176.7 kB / 0.5072 GB, free: 4.824 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.3786, allocations: 384 / 0.5072 GB, free: 4.824 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.293e-06/0.3786, allocations: 5.281 kB / 0.5072 GB, free: 4.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.715e-05/0.3787, allocations: 51.86 kB / 0.5072 GB, free: 4.785 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.3787, allocations: 1.188 kB / 0.5072 GB, free: 4.785 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.552e-06/0.3787, allocations: 5.062 kB / 0.5072 GB, free: 4.781 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-06/0.3787, allocations: 0 / 0.5072 GB, free: 4.781 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.714e-05/0.3787, allocations: 23.02 kB / 0.5072 GB, free: 4.777 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.959e-05/0.3789, allocations: 164.1 kB / 0.5074 GB, free: 4.578 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.78e-05/0.3789, allocations: 52.03 kB / 0.5075 GB, free: 4.539 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.712e-05/0.379, allocations: 31.78 kB / 0.5075 GB, free: 4.523 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.128e-06/0.379, allocations: 1.219 kB / 0.5075 GB, free: 4.523 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.379, allocations: 32.41 kB / 0.5075 GB, free: 4.484 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 9.62e-07/0.379, allocations: 0 / 0.5075 GB, free: 4.484 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000205/0.3792, allocations: 140.2 kB / 0.5077 GB, free: 4.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/0.3792, allocations: 88.19 kB / 0.5077 GB, free: 4.312 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.984e-05/0.3793, allocations: 116.3 kB / 0.5078 GB, free: 4.207 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.372e-06/0.3793, allocations: 25.7 kB / 0.5079 GB, free: 4.176 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.987e-05/0.3793, allocations: 87.25 kB / 0.508 GB, free: 4.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.745e-05/0.3794, allocations: 34.03 kB / 0.508 GB, free: 4.062 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.806e-05/0.3794, allocations: 16.81 kB / 0.508 GB, free: 4.047 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.249e-05/0.3795, allocations: 320.1 kB / 0.5083 GB, free: 3.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.065e-05/0.3795, allocations: 24.11 kB / 0.5083 GB, free: 3.723 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.295e-05/0.3795, allocations: 19.12 kB / 0.5083 GB, free: 3.723 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.882e-05/0.3796, allocations: 134.1 kB / 0.5085 GB, free: 3.633 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3796, allocations: 3.938 kB / 0.5085 GB, free: 3.629 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001136/0.3797, allocations: 116.3 kB / 0.5086 GB, free: 3.559 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.502e-05/0.3798, allocations: 45.89 kB / 0.5086 GB, free: 3.523 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.3798, allocations: 0 / 0.5086 GB, free: 3.523 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.3798, allocations: 7.828 kB / 0.5086 GB, free: 3.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.472e-06/0.3798, allocations: 4.688 kB / 0.5086 GB, free: 3.516 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.3798, allocations: 0 / 0.5086 GB, free: 3.516 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.166e-05/0.3799, allocations: 10.31 kB / 0.5087 GB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.3799, allocations: 4.031 kB / 0.5087 GB, free: 3.508 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 7.063e-05/0.3799, allocations: 154.8 kB / 0.5088 GB, free: 3.359 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.309e-05/0.38, allocations: 8.016 kB / 0.5088 GB, free: 3.355 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.329e-05/0.38, allocations: 12.2 kB / 0.5088 GB, free: 3.348 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.38, allocations: 384 / 0.5088 GB, free: 3.348 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.38, allocations: 1.125 kB / 0.5088 GB, free: 3.348 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-06/0.38, allocations: 0 / 0.5088 GB, free: 3.348 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.844e-05/0.3801, allocations: 166.6 kB / 0.509 GB, free: 3.152 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.3801, allocations: 7.938 kB / 0.509 GB, free: 3.145 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.002e-06/0.3801, allocations: 2 kB / 0.509 GB, free: 3.145 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.3801, allocations: 0 / 0.509 GB, free: 3.145 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.3801, allocations: 3.672 kB / 0.509 GB, free: 3.145 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.3801, allocations: 0 / 0.509 GB, free: 3.145 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3801, allocations: 1.25 kB / 0.509 GB, free: 3.145 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001992/0.3803, allocations: 215.8 kB / 0.5092 GB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.781e-05/0.3803, allocations: 83.03 kB / 0.5093 GB, free: 2.922 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.3804, allocations: 7.094 kB / 0.5093 GB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.498e-05/0.3804, allocations: 2.156 kB / 0.5093 GB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.595e-05/0.3804, allocations: 6.172 kB / 0.5093 GB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.3804, allocations: 2.812 kB / 0.5093 GB, free: 2.914 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.97e-05/0.3805, allocations: 90.33 kB / 0.5094 GB, free: 2.836 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3805, allocations: 0 / 0.5094 GB, free: 2.836 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002101/0.3807, allocations: 27.12 kB / 0.5094 GB, free: 2.832 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.0004066/0.3811, allocations: 0.7618 MB / 0.5102 GB, free: 2.176 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002088/0.3813, allocations: 199 kB / 0.5104 GB, free: 2.074 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3813, allocations: 0 / 0.5104 GB, free: 2.074 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001/0.3814, allocations: 147.9 kB / 0.5105 GB, free: 1.984 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002031/0.3816, allocations: 8.578 kB / 0.5105 GB, free: 1.984 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.3827, allocations: 1.553 MB / 0.512 GB, free: 0.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.765e-05/0.3828, allocations: 0.697 MB / 0.5127 GB, free: 52 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.489e-05/0.3829, allocations: 0.7031 kB / 0.5127 GB, free: 52 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.337e-05/0.3829, allocations: 12.23 kB / 0.5127 GB, free: 40 kB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3829, allocations: 0 / 0.5127 GB, free: 40 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2033/0.5862, allocations: 2.189 MB / 0.5148 GB, free: 15.63 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.099/8.685, allocations: 12.84 kB / 0.5149 GB, free: 15.62 MB / 398.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches