Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.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.PQsource,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.PQsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,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.PQsource") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 179.5 kB / 16.71 MB, free: 5.09 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.221/1.221, 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.0007873/0.0007873, allocations: 97.03 kB / 294.4 MB, free: 9.516 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.2944/0.2944, allocations: 38.18 MB / 383.7 MB, free: 40.38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002739/0.0002739, allocations: 12.22 kB / 453.5 MB, free: 8.793 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2486, allocations: 59.15 MB / 0.5007 GB, free: 39.09 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.004515/0.2531, allocations: 4.705 MB / 0.5053 GB, free: 38.55 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002024/0.2552, allocations: 2.129 MB / 0.5074 GB, free: 36.78 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002016/0.2554, allocations: 25.72 kB / 0.5074 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002651/0.2557, allocations: 84.02 kB / 0.5075 GB, free: 36.72 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000435/0.2561, allocations: 236.2 kB / 0.5077 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003515/0.2565, allocations: 148.4 kB / 0.5078 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007513/0.2573, allocations: 0.8575 MB / 0.5087 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000777/0.258, allocations: 0.7574 MB / 0.5094 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002873/0.2583, allocations: 210.9 kB / 0.5096 GB, free: 35.56 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004104/0.2588, allocations: 278.8 kB / 0.5099 GB, free: 35.46 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.037e-05/0.2588, allocations: 16.31 kB / 0.5099 GB, free: 35.46 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002297/0.259, allocations: 121.4 kB / 0.51 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001756/0.2592, allocations: 176 kB / 0.5102 GB, free: 35.38 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001843/0.2594, allocations: 226.2 kB / 0.5104 GB, free: 35.24 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004862/0.2599, allocations: 0.492 MB / 0.5109 GB, free: 35.09 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.2599, allocations: 2.125 kB / 0.5109 GB, free: 35.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2599, allocations: 0 / 0.5109 GB, free: 35.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.26, allocations: 0.9688 kB / 0.5109 GB, free: 35.09 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.0008145/0.2608, allocations: 0.6204 MB / 0.5115 GB, free: 34.58 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.2608, allocations: 10.06 kB / 0.5115 GB, free: 34.58 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004943/0.2613, allocations: 89.31 kB / 0.5116 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004808/0.2618, allocations: 401 kB / 0.5119 GB, free: 34.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/0.2618, allocations: 24.09 kB / 0.512 GB, free: 34.24 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/0.262, allocations: 45.25 kB / 0.512 GB, free: 34.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000582/0.2626, allocations: 487 kB / 0.5125 GB, free: 33.99 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/0.2626, allocations: 0 / 0.5125 GB, free: 33.99 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.175e-05/0.2626, allocations: 12.59 kB / 0.5125 GB, free: 33.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.543e-05/0.2627, allocations: 29.5 kB / 0.5125 GB, free: 33.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004371/0.2632, allocations: 347.7 kB / 0.5129 GB, free: 33.87 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001587/0.2648, allocations: 1.732 MB / 0.5145 GB, free: 32.63 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002238/0.265, allocations: 150.6 kB / 0.5147 GB, free: 32.54 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/0.2651, allocations: 113 kB / 0.5148 GB, free: 32.49 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.2652, allocations: 6.844 kB / 0.5148 GB, free: 32.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.567e-05/0.2652, allocations: 37.53 kB / 0.5148 GB, free: 32.44 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 1.343e-06/0.2652, allocations: 3.938 kB / 0.5148 GB, free: 32.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.001144/0.2663, allocations: 0.8869 MB / 0.5157 GB, free: 31.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/0.2664, allocations: 80.11 kB / 0.5158 GB, free: 31.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002379/0.2666, allocations: 307.5 kB / 0.5161 GB, free: 31.56 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.2666, allocations: 29.64 kB / 0.5161 GB, free: 31.53 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.2668, allocations: 255.3 kB / 0.5163 GB, free: 31.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.151e-05/0.2668, allocations: 66.22 kB / 0.5164 GB, free: 31.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.191e-05/0.2668, allocations: 5.188 kB / 0.5164 GB, free: 31.26 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.893e-05/0.2669, allocations: 343.2 kB / 0.5167 GB, free: 30.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.267, allocations: 97.52 kB / 0.5168 GB, free: 30.9 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/0.2672, allocations: 205.5 kB / 0.517 GB, free: 30.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000289/0.2675, allocations: 328.4 kB / 0.5173 GB, free: 30.51 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2675, allocations: 0 / 0.5173 GB, free: 30.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007253/0.2682, allocations: 478.7 kB / 0.5178 GB, free: 30.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.2683, allocations: 6.219 kB / 0.5178 GB, free: 30.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005458/0.2688, allocations: 310.9 kB / 0.5181 GB, free: 30.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004445/0.2693, allocations: 145.8 kB / 0.5182 GB, free: 30.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/0.2695, allocations: 52.11 kB / 0.5183 GB, free: 30.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002042/0.2715, allocations: 2.198 MB / 0.5204 GB, free: 28.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001562/0.2717, allocations: 17.66 kB / 0.5205 GB, free: 28.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.2717, allocations: 14.03 kB / 0.5205 GB, free: 28.45 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.0001533/0.2719, allocations: 192 kB / 0.5207 GB, free: 28.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.331e-05/0.2719, allocations: 30.88 kB / 0.5207 GB, free: 28.29 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003544/0.2723, allocations: 259.5 kB / 0.5209 GB, free: 28.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.2723, allocations: 3.938 kB / 0.5209 GB, free: 28.15 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.2723, allocations: 6.938 kB / 0.5209 GB, free: 28.15 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.2723, allocations: 0 / 0.5209 GB, free: 28.15 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008486/0.2731, allocations: 0.7394 MB / 0.5217 GB, free: 27.67 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.2732, allocations: 0 / 0.5217 GB, free: 27.67 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001897/0.2734, allocations: 38.19 kB / 0.5217 GB, free: 27.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.643e-05/0.2735, allocations: 47.23 kB / 0.5217 GB, free: 27.65 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.2735, allocations: 6.781 kB / 0.5217 GB, free: 27.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.2735, allocations: 0 / 0.5217 GB, free: 27.64 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.2735, allocations: 6.562 kB / 0.5218 GB, free: 27.64 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004026/0.2739, allocations: 440.2 kB / 0.5222 GB, free: 27.37 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.082e-05/0.274, allocations: 104.4 kB / 0.5223 GB, free: 27.26 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.633e-05/0.274, allocations: 6.781 kB / 0.5223 GB, free: 27.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.2741, allocations: 10.23 kB / 0.5223 GB, free: 27.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.669e-05/0.2742, allocations: 21.12 kB / 0.5223 GB, free: 27.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.2742, allocations: 5.75 kB / 0.5223 GB, free: 27.24 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001612/0.2744, allocations: 218.6 kB / 0.5225 GB, free: 27.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2744, allocations: 0 / 0.5225 GB, free: 27.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003673/0.2748, allocations: 92.81 kB / 0.5226 GB, free: 27.11 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): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.77e-05/0.2749, allocations: 110.3 kB / 0.5227 GB, free: 27.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005321/0.2754, allocations: 413.3 kB / 0.5231 GB, free: 26.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2754, allocations: 2.594 kB / 0.5231 GB, free: 26.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.2756, allocations: 172.1 kB / 0.5233 GB, free: 26.67 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004234/0.276, allocations: 66.17 kB / 0.5233 GB, free: 26.64 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.2771, allocations: 1.077 MB / 0.5244 GB, free: 25.95 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002262/0.2773, allocations: 0.8431 MB / 0.5252 GB, free: 25.23 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000167/0.2775, allocations: 66.17 kB / 0.5253 GB, free: 25.22 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.882e-05/0.2775, allocations: 22.06 kB / 0.5253 GB, free: 25.21 MB / 378.7 MB Notification: Performance of SimCode: time 3.5e-07/0.2775, allocations: 0 / 0.5253 GB, free: 25.21 MB / 378.7 MB Notification: Performance of Templates: time 0.006144/0.2837, allocations: 3.59 MB / 0.5288 GB, free: 24.93 MB / 378.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.PQsource.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches