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.001707/0.001707, allocations: 114.2 kB / 17.07 MB, free: 5.969 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.002056/0.002056, allocations: 198.9 kB / 18.01 MB, free: 5.051 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.436/1.436, allocations: 222.9 MB / 241.7 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1962/0.1962, allocations: 38.04 MB / 329.9 MB, free: 8.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 67.89 kB / 457.7 MB, free: 7.383 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3787/0.38, allocations: 58.05 MB / 0.5036 GB, free: 7.453 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.003289/0.3833, allocations: 2.04 MB / 0.5056 GB, free: 6.027 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007336/0.3841, allocations: 0.522 MB / 0.5061 GB, free: 5.676 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.578e-05/0.3841, allocations: 0 / 0.5061 GB, free: 5.676 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001952/0.3843, allocations: 15.78 kB / 0.5061 GB, free: 5.668 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.44e-05/0.3844, allocations: 28.64 kB / 0.5062 GB, free: 5.652 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003236/0.3848, allocations: 63.25 kB / 0.5062 GB, free: 5.629 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001363/0.3849, allocations: 66.97 kB / 0.5063 GB, free: 5.602 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.425e-05/0.385, allocations: 7.719 kB / 0.5063 GB, free: 5.598 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.394e-05/0.3851, allocations: 29.69 kB / 0.5063 GB, free: 5.586 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.345e-05/0.3851, allocations: 26.67 kB / 0.5064 GB, free: 5.578 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.729e-06/0.3852, allocations: 1.344 kB / 0.5064 GB, free: 5.578 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001722/0.3853, allocations: 77.64 kB / 0.5064 GB, free: 5.551 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.247e-05/0.3854, allocations: 11.86 kB / 0.5064 GB, free: 5.547 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.746e-05/0.3854, allocations: 17.34 kB / 0.5065 GB, free: 5.535 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001907/0.3856, allocations: 103.3 kB / 0.5066 GB, free: 5.508 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3856, allocations: 0 / 0.5066 GB, free: 5.508 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3856, allocations: 0 / 0.5066 GB, free: 5.508 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.3856, allocations: 4 kB / 0.5066 GB, free: 5.504 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.0003706/0.386, allocations: 384.5 kB / 0.5069 GB, free: 5.102 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.3861, allocations: 14.02 kB / 0.5069 GB, free: 5.098 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.64e-05/0.3861, allocations: 34.17 kB / 0.507 GB, free: 5.059 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.018e-05/0.3861, allocations: 7.031 kB / 0.507 GB, free: 5.055 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.3863, allocations: 177 kB / 0.5072 GB, free: 4.852 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.264e-06/0.3863, allocations: 4.875 kB / 0.5072 GB, free: 4.848 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.3863, allocations: 5.875 kB / 0.5072 GB, free: 4.844 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/0.3864, allocations: 46.98 kB / 0.5072 GB, free: 4.812 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.3864, allocations: 8.641 kB / 0.5072 GB, free: 4.805 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.3865, allocations: 5.062 kB / 0.5072 GB, free: 4.805 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3865, allocations: 0 / 0.5072 GB, free: 4.805 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.193e-05/0.3865, allocations: 22.64 kB / 0.5072 GB, free: 4.801 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001119/0.3866, allocations: 159.5 kB / 0.5074 GB, free: 4.605 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.429e-05/0.3867, allocations: 48.27 kB / 0.5074 GB, free: 4.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.31e-05/0.3868, allocations: 36.72 kB / 0.5075 GB, free: 4.551 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.3868, allocations: 0 / 0.5075 GB, free: 4.551 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.3868, allocations: 43.97 kB / 0.5075 GB, free: 4.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 8.62e-07/0.3868, allocations: 0 / 0.5075 GB, free: 4.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002517/0.3871, allocations: 145 kB / 0.5077 GB, free: 4.422 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.3871, allocations: 84.16 kB / 0.5077 GB, free: 4.328 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.013e-05/0.3872, allocations: 115.8 kB / 0.5078 GB, free: 4.223 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.417e-06/0.3872, allocations: 25.7 kB / 0.5079 GB, free: 4.191 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.721e-05/0.3872, allocations: 87.62 kB / 0.508 GB, free: 4.105 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.657e-05/0.3873, allocations: 25.42 kB / 0.508 GB, free: 4.086 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.674e-05/0.3873, allocations: 25.06 kB / 0.508 GB, free: 4.062 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.746e-05/0.3874, allocations: 314.7 kB / 0.5083 GB, free: 3.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.716e-05/0.3874, allocations: 22.33 kB / 0.5083 GB, free: 3.746 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.343e-05/0.3875, allocations: 21.19 kB / 0.5083 GB, free: 3.742 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.3876, allocations: 126.2 kB / 0.5085 GB, free: 3.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.3876, allocations: 4.5 kB / 0.5085 GB, free: 3.656 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001299/0.3877, allocations: 124.8 kB / 0.5086 GB, free: 3.578 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.313e-05/0.3878, allocations: 41.48 kB / 0.5086 GB, free: 3.547 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3878, allocations: 4.062 kB / 0.5086 GB, free: 3.543 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.3878, allocations: 1.156 kB / 0.5086 GB, free: 3.543 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.613e-06/0.3878, allocations: 0.5625 kB / 0.5086 GB, free: 3.543 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.3878, allocations: 0 / 0.5086 GB, free: 3.543 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.487e-05/0.3878, allocations: 2.75 kB / 0.5086 GB, free: 3.543 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.76e-05/0.3879, allocations: 3.938 kB / 0.5086 GB, free: 3.543 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 8.961e-05/0.388, allocations: 159.6 kB / 0.5088 GB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.574e-05/0.388, allocations: 7.906 kB / 0.5088 GB, free: 3.387 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.386e-05/0.388, allocations: 7.797 kB / 0.5088 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.388, allocations: 7.938 kB / 0.5088 GB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.388, allocations: 0 / 0.5088 GB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.388, allocations: 1.797 kB / 0.5088 GB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.975e-05/0.3881, allocations: 170 kB / 0.509 GB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.3881, allocations: 1.25 kB / 0.509 GB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.3881, allocations: 3.938 kB / 0.509 GB, free: 3.172 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.3881, allocations: 0.6094 kB / 0.509 GB, free: 3.172 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.3881, allocations: 2.562 kB / 0.509 GB, free: 3.172 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.716e-06/0.3882, allocations: 1.734 kB / 0.509 GB, free: 3.172 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3882, allocations: 0 / 0.509 GB, free: 3.172 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002319/0.3884, allocations: 223.9 kB / 0.5092 GB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.131e-05/0.3884, allocations: 82.72 kB / 0.5093 GB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.3885, allocations: 2.656 kB / 0.5093 GB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.681e-05/0.3885, allocations: 2.859 kB / 0.5093 GB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.016e-05/0.3885, allocations: 1.656 kB / 0.5093 GB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.3885, allocations: 3.906 kB / 0.5093 GB, free: 2.941 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.499e-05/0.3886, allocations: 89.58 kB / 0.5094 GB, free: 2.863 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3886, allocations: 0 / 0.5094 GB, free: 2.863 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002386/0.3888, allocations: 32.58 kB / 0.5094 GB, free: 2.855 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.0004807/0.3893, allocations: 0.7529 MB / 0.5101 GB, free: 2.207 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000221/0.3895, allocations: 195 kB / 0.5103 GB, free: 2.109 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3895, allocations: 0 / 0.5103 GB, free: 2.109 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001165/0.3897, allocations: 152.5 kB / 0.5105 GB, free: 2.016 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/0.3899, allocations: 19.47 kB / 0.5105 GB, free: 2.004 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.3912, allocations: 1.56 MB / 0.512 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.3914, allocations: 0.6898 MB / 0.5127 GB, free: 68 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.468e-05/0.3914, allocations: 2 kB / 0.5127 GB, free: 68 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.421e-05/0.3914, allocations: 12.66 kB / 0.5127 GB, free: 56 kB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3914, allocations: 1.344 kB / 0.5127 GB, free: 56 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01933/0.4107, allocations: 2.227 MB / 0.5149 GB, free: 15.64 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.548/7.958, allocations: 16.81 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