Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.PVsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PVsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009249/0.0009249, allocations: 184.9 kB / 16.72 MB, free: 4.938 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.195/1.195, allocations: 225.7 MB / 243.2 MB, free: 8.461 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000737/0.000737, allocations: 92.53 kB / 294.4 MB, free: 9.496 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2908/0.2908, allocations: 38.17 MB / 383.7 MB, free: 40.28 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003235/0.0003236, allocations: 8 kB / 453.6 MB, free: 8.762 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.288, allocations: 59.15 MB / 0.5007 GB, free: 38.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.004787/0.2928, allocations: 4.721 MB / 0.5053 GB, free: 38.34 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002131/0.295, allocations: 2.126 MB / 0.5074 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000213/0.2952, allocations: 26.31 kB / 0.5074 GB, free: 36.53 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000298/0.2955, allocations: 84.17 kB / 0.5075 GB, free: 36.49 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004818/0.296, allocations: 227 kB / 0.5077 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004024/0.2964, allocations: 157.2 kB / 0.5078 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000914/0.2974, allocations: 0.8308 MB / 0.5087 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009127/0.2983, allocations: 0.7661 MB / 0.5094 GB, free: 35.41 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003647/0.2987, allocations: 209.5 kB / 0.5096 GB, free: 35.32 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004841/0.2992, allocations: 280.4 kB / 0.5099 GB, free: 35.22 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.759e-05/0.2992, allocations: 15.88 kB / 0.5099 GB, free: 35.22 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002734/0.2995, allocations: 121.7 kB / 0.51 GB, free: 35.19 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002003/0.2997, allocations: 166.6 kB / 0.5102 GB, free: 35.14 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002174/0.2999, allocations: 223.6 kB / 0.5104 GB, free: 35 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005814/0.3005, allocations: 0.4923 MB / 0.5109 GB, free: 34.85 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3005, allocations: 0 / 0.5109 GB, free: 34.85 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3005, allocations: 1.062 kB / 0.5109 GB, free: 34.85 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.834e-06/0.3006, allocations: 0 / 0.5109 GB, free: 34.85 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.0009068/0.3015, allocations: 0.6236 MB / 0.5115 GB, free: 34.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.3015, allocations: 9.062 kB / 0.5115 GB, free: 34.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005072/0.302, allocations: 85.33 kB / 0.5116 GB, free: 34.31 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004702/0.3025, allocations: 401.9 kB / 0.5119 GB, free: 34.01 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/0.3025, allocations: 24.03 kB / 0.512 GB, free: 34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.3027, allocations: 48.53 kB / 0.512 GB, free: 33.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005513/0.3032, allocations: 472.1 kB / 0.5125 GB, free: 33.76 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.3032, allocations: 1.062 kB / 0.5125 GB, free: 33.76 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.323e-05/0.3033, allocations: 16.75 kB / 0.5125 GB, free: 33.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.875e-05/0.3034, allocations: 25.44 kB / 0.5125 GB, free: 33.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000422/0.3038, allocations: 338.3 kB / 0.5128 GB, free: 33.64 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001566/0.3054, allocations: 1.71 MB / 0.5145 GB, free: 32.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002298/0.3056, allocations: 153.3 kB / 0.5146 GB, free: 32.32 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.3057, allocations: 97.8 kB / 0.5147 GB, free: 32.28 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.3058, allocations: 9.984 kB / 0.5147 GB, free: 32.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.66e-05/0.3058, allocations: 37.56 kB / 0.5148 GB, free: 32.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 1.303e-06/0.3058, allocations: 7.875 kB / 0.5148 GB, free: 32.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.001173/0.307, allocations: 0.853 MB / 0.5156 GB, free: 31.62 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.307, allocations: 81.64 kB / 0.5157 GB, free: 31.52 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000263/0.3073, allocations: 296 kB / 0.516 GB, free: 31.36 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.3073, allocations: 29.7 kB / 0.516 GB, free: 31.32 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.3074, allocations: 253.3 kB / 0.5162 GB, free: 31.12 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.102e-05/0.3075, allocations: 70.64 kB / 0.5163 GB, free: 31.06 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.215e-05/0.3075, allocations: 4 kB / 0.5163 GB, free: 31.06 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.127e-05/0.3076, allocations: 344.3 kB / 0.5166 GB, free: 30.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.3077, allocations: 92.66 kB / 0.5167 GB, free: 30.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.3079, allocations: 194 kB / 0.5169 GB, free: 30.54 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002809/0.3081, allocations: 315.2 kB / 0.5172 GB, free: 30.32 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3082, allocations: 0 / 0.5172 GB, free: 30.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007138/0.3089, allocations: 451.4 kB / 0.5177 GB, free: 30.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.3089, allocations: 7.156 kB / 0.5177 GB, free: 30.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005253/0.3094, allocations: 287 kB / 0.5179 GB, free: 30.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004384/0.3099, allocations: 137.1 kB / 0.5181 GB, free: 29.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001797/0.3101, allocations: 56.55 kB / 0.5181 GB, free: 29.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001969/0.312, allocations: 2.139 MB / 0.5202 GB, free: 28.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001605/0.3122, allocations: 14.75 kB / 0.5202 GB, free: 28.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.057e-05/0.3123, allocations: 16.84 kB / 0.5202 GB, free: 28.3 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001635/0.3124, allocations: 191.5 kB / 0.5204 GB, free: 28.14 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.287e-05/0.3125, allocations: 31 kB / 0.5205 GB, free: 28.13 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003751/0.3128, allocations: 244.6 kB / 0.5207 GB, free: 28 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.3129, allocations: 2.844 kB / 0.5207 GB, free: 28 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.3129, allocations: 0 / 0.5207 GB, free: 28 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.3129, allocations: 10.88 kB / 0.5207 GB, free: 28 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008341/0.3137, allocations: 0.7176 MB / 0.5214 GB, free: 27.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.3137, allocations: 3.938 kB / 0.5214 GB, free: 27.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001903/0.3139, allocations: 39.88 kB / 0.5214 GB, free: 27.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.181e-05/0.314, allocations: 37.77 kB / 0.5215 GB, free: 27.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.314, allocations: 6.75 kB / 0.5215 GB, free: 27.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007512/0.3148, allocations: 1.483 MB / 0.5229 GB, free: 26.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.3148, allocations: 0 / 0.5229 GB, free: 26.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003847/0.3152, allocations: 436 kB / 0.5233 GB, free: 25.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.473e-05/0.3153, allocations: 105.1 kB / 0.5234 GB, free: 25.69 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.641e-05/0.3153, allocations: 6.156 kB / 0.5235 GB, free: 25.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.3154, allocations: 9.953 kB / 0.5235 GB, free: 25.69 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.454e-05/0.3155, allocations: 12.95 kB / 0.5235 GB, free: 25.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.3155, allocations: 9.656 kB / 0.5235 GB, free: 25.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001481/0.3157, allocations: 214.6 kB / 0.5237 GB, free: 25.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3157, allocations: 4 kB / 0.5237 GB, free: 25.56 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00038/0.3161, allocations: 86.19 kB / 0.5238 GB, free: 25.55 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.212e-05/0.3161, allocations: 109.3 kB / 0.5239 GB, free: 25.46 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005199/0.3167, allocations: 401.1 kB / 0.5243 GB, free: 25.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3167, allocations: 0 / 0.5243 GB, free: 25.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002471/0.3169, allocations: 224.4 kB / 0.5245 GB, free: 25.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004271/0.3174, allocations: 64.66 kB / 0.5245 GB, free: 25.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.3184, allocations: 1.085 MB / 0.5256 GB, free: 24.36 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002218/0.3187, allocations: 0.8346 MB / 0.5264 GB, free: 23.65 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001656/0.3188, allocations: 63.48 kB / 0.5265 GB, free: 23.64 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.097e-05/0.3189, allocations: 24.38 kB / 0.5265 GB, free: 23.63 MB / 378.7 MB Notification: Performance of SimCode: time 3.01e-07/0.3189, allocations: 0 / 0.5265 GB, free: 23.63 MB / 378.7 MB Notification: Performance of Templates: time 0.006047/0.3249, allocations: 3.696 MB / 0.5301 GB, free: 23.35 MB / 378.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.PVsource.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches