Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.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.Elementary.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance") translateModel(PowerSystems.Examples.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 183.7 kB / 16.71 MB, free: 4.969 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.255/1.255, allocations: 225.7 MB / 243.2 MB, free: 10.21 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.0007357/0.0007358, allocations: 88.17 kB / 294.4 MB, free: 9.734 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.2635/0.2635, allocations: 38.18 MB / 383.6 MB, free: 40.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002773/0.0002773, allocations: 11.98 kB / 453.6 MB, free: 8.836 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2824, allocations: 59.14 MB / 0.5007 GB, free: 39.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.004463/0.2869, allocations: 4.71 MB / 0.5053 GB, free: 38.48 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002417/0.2894, allocations: 2.432 MB / 0.5077 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002341/0.2896, allocations: 26.38 kB / 0.5077 GB, free: 36.35 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001936/0.2898, allocations: 60.28 kB / 0.5077 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000484/0.2903, allocations: 220.6 kB / 0.5079 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005335/0.2909, allocations: 228.4 kB / 0.5082 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007065/0.2916, allocations: 0.8451 MB / 0.509 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008356/0.2924, allocations: 0.8055 MB / 0.5098 GB, free: 35.21 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002916/0.2927, allocations: 211.7 kB / 0.51 GB, free: 35.12 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004007/0.2932, allocations: 307.3 kB / 0.5103 GB, free: 35.03 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.854e-05/0.2932, allocations: 16.97 kB / 0.5103 GB, free: 35.03 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002648/0.2935, allocations: 137.5 kB / 0.5104 GB, free: 34.99 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001981/0.2937, allocations: 207 kB / 0.5106 GB, free: 34.93 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002141/0.2939, allocations: 247 kB / 0.5109 GB, free: 34.78 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004895/0.2944, allocations: 0.5714 MB / 0.5114 GB, free: 34.6 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.2944, allocations: 0 / 0.5114 GB, free: 34.6 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2944, allocations: 1.125 kB / 0.5114 GB, free: 34.6 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.2945, allocations: 1.594 kB / 0.5114 GB, free: 34.6 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.0009555/0.2954, allocations: 0.6795 MB / 0.5121 GB, free: 34.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.2955, allocations: 10.66 kB / 0.5121 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004831/0.2959, allocations: 97 kB / 0.5122 GB, free: 34.04 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004886/0.2964, allocations: 397.1 kB / 0.5126 GB, free: 33.74 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.63e-05/0.2965, allocations: 28.84 kB / 0.5126 GB, free: 33.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/0.2966, allocations: 58.69 kB / 0.5126 GB, free: 33.71 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007317/0.2973, allocations: 0.6406 MB / 0.5133 GB, free: 33.34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.2974, allocations: 10.59 kB / 0.5133 GB, free: 33.34 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.743e-05/0.2974, allocations: 17.31 kB / 0.5133 GB, free: 33.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.663e-05/0.2975, allocations: 35.33 kB / 0.5133 GB, free: 33.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005571/0.2981, allocations: 475.7 kB / 0.5138 GB, free: 33.17 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002258/0.3003, allocations: 3.02 MB / 0.5167 GB, free: 30.81 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000233/0.3006, allocations: 187.1 kB / 0.5169 GB, free: 30.7 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.3007, allocations: 103.1 kB / 0.517 GB, free: 30.65 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/0.3008, allocations: 9.938 kB / 0.517 GB, free: 30.65 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.731e-05/0.3008, allocations: 37.34 kB / 0.5171 GB, free: 30.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=20): time 1.533e-06/0.3008, allocations: 3.938 kB / 0.5171 GB, free: 30.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=21): time 0.001015/0.3018, allocations: 0.8415 MB / 0.5179 GB, free: 30.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.322e-05/0.3018, allocations: 80.11 kB / 0.518 GB, free: 29.96 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002439/0.3021, allocations: 340.6 kB / 0.5183 GB, free: 29.78 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.3021, allocations: 30.7 kB / 0.5183 GB, free: 29.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.3022, allocations: 307.3 kB / 0.5186 GB, free: 29.49 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.743e-05/0.3023, allocations: 75.59 kB / 0.5187 GB, free: 29.44 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.566e-05/0.3023, allocations: 6.656 kB / 0.5187 GB, free: 29.43 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.633e-05/0.3024, allocations: 349.7 kB / 0.519 GB, free: 29.1 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001687/0.3025, allocations: 122.8 kB / 0.5191 GB, free: 29.06 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002263/0.3028, allocations: 328.3 kB / 0.5194 GB, free: 28.76 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004264/0.3032, allocations: 0.4917 MB / 0.5199 GB, free: 28.36 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.3032, allocations: 2.844 kB / 0.5199 GB, free: 28.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000815/0.304, allocations: 0.5592 MB / 0.5205 GB, free: 28.13 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.3041, allocations: 7.938 kB / 0.5205 GB, free: 28.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004346/0.3045, allocations: 277.1 kB / 0.5207 GB, free: 28.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002936/0.3048, allocations: 78.06 kB / 0.5208 GB, free: 28.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002847/0.3051, allocations: 96.47 kB / 0.5209 GB, free: 28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001138/0.3063, allocations: 1.597 MB / 0.5225 GB, free: 26.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002152/0.3065, allocations: 18.5 kB / 0.5225 GB, free: 26.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.615e-05/0.3065, allocations: 22.77 kB / 0.5225 GB, free: 26.57 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (50): * Single equations (assignments): 49 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001843/0.3067, allocations: 226.9 kB / 0.5227 GB, free: 26.4 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.547e-05/0.3068, allocations: 33.95 kB / 0.5228 GB, free: 26.39 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000403/0.3072, allocations: 298 kB / 0.523 GB, free: 26.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.3072, allocations: 2.969 kB / 0.523 GB, free: 26.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-06/0.3072, allocations: 0 / 0.523 GB, free: 26.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.3072, allocations: 7.234 kB / 0.5231 GB, free: 26.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000905/0.3081, allocations: 0.7957 MB / 0.5238 GB, free: 25.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.3081, allocations: 2.938 kB / 0.5238 GB, free: 25.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002553/0.3084, allocations: 46.52 kB / 0.5239 GB, free: 25.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.3084, allocations: 2.844 kB / 0.5239 GB, free: 25.76 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.48e-05/0.3084, allocations: 14.31 kB / 0.5239 GB, free: 25.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.3084, allocations: 10.31 kB / 0.5239 GB, free: 25.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3085, allocations: 0 / 0.5239 GB, free: 25.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000441/0.3089, allocations: 474.3 kB / 0.5244 GB, free: 25.47 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.833e-05/0.309, allocations: 109.2 kB / 0.5245 GB, free: 25.36 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.804e-05/0.309, allocations: 10.41 kB / 0.5245 GB, free: 25.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/0.3092, allocations: 7.062 kB / 0.5245 GB, free: 25.35 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.986e-05/0.3092, allocations: 27.78 kB / 0.5245 GB, free: 25.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.3092, allocations: 4.938 kB / 0.5245 GB, free: 25.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000158/0.3094, allocations: 236 kB / 0.5247 GB, free: 25.21 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3094, allocations: 3.938 kB / 0.5247 GB, free: 25.21 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003861/0.3098, allocations: 91.38 kB / 0.5248 GB, free: 25.2 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 9.711e-05/0.3099, allocations: 111.5 kB / 0.5249 GB, free: 25.1 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005458/0.3104, allocations: 439.3 kB / 0.5253 GB, free: 24.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3105, allocations: 0.5625 kB / 0.5253 GB, free: 24.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000127/0.3106, allocations: 111.4 kB / 0.5255 GB, free: 24.85 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004415/0.311, allocations: 66.42 kB / 0.5255 GB, free: 24.83 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.3122, allocations: 1.239 MB / 0.5267 GB, free: 24.04 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.3125, allocations: 0.8733 MB / 0.5276 GB, free: 23.32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002574/0.3128, allocations: 112.2 kB / 0.5277 GB, free: 23.31 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.836e-05/0.3129, allocations: 27.81 kB / 0.5277 GB, free: 23.3 MB / 378.7 MB Notification: Performance of SimCode: time 3e-07/0.3129, allocations: 0 / 0.5277 GB, free: 23.3 MB / 378.7 MB Notification: Performance of Templates: time 0.005847/0.3187, allocations: 3.34 MB / 0.531 GB, free: 23.04 MB / 378.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Impedance.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches