Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.ImpedanceYD,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.ImpedanceYD") translateModel(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,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.ImpedanceYD") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008815/0.0008819, allocations: 176.6 kB / 16.71 MB, free: 5.094 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.225/1.225, allocations: 225.7 MB / 243.2 MB, free: 10.19 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.0007707/0.0007707, allocations: 100.8 kB / 294.4 MB, free: 9.715 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.2822/0.2822, allocations: 38.18 MB / 383.7 MB, free: 40.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002914/0.0002914, allocations: 11.98 kB / 453.6 MB, free: 8.805 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.2875, allocations: 59.14 MB / 0.5007 GB, free: 38.93 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.004695/0.2923, allocations: 4.699 MB / 0.5053 GB, free: 38.41 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002635/0.2949, allocations: 2.595 MB / 0.5078 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002486/0.2952, allocations: 25.06 kB / 0.5078 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002058/0.2954, allocations: 62.02 kB / 0.5079 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005447/0.296, allocations: 242.6 kB / 0.5081 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006029/0.2966, allocations: 231.2 kB / 0.5083 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009901/0.2976, allocations: 0.9322 MB / 0.5092 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007346/0.2983, allocations: 0.6116 MB / 0.5098 GB, free: 35.07 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003022/0.2986, allocations: 219.8 kB / 0.5101 GB, free: 34.99 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004506/0.2991, allocations: 326.5 kB / 0.5104 GB, free: 34.89 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.536e-05/0.2991, allocations: 17.53 kB / 0.5104 GB, free: 34.89 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002776/0.2994, allocations: 136.5 kB / 0.5105 GB, free: 34.85 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000197/0.2996, allocations: 203.7 kB / 0.5107 GB, free: 34.79 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001918/0.2998, allocations: 246.9 kB / 0.5109 GB, free: 34.63 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004965/0.3003, allocations: 0.5667 MB / 0.5115 GB, free: 34.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.3004, allocations: 3.125 kB / 0.5115 GB, free: 34.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3004, allocations: 0 / 0.5115 GB, free: 34.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.3004, allocations: 1 kB / 0.5115 GB, free: 34.46 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001003/0.3014, allocations: 0.6845 MB / 0.5122 GB, free: 33.92 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.3014, allocations: 8.562 kB / 0.5122 GB, free: 33.92 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004916/0.3019, allocations: 91.67 kB / 0.5123 GB, free: 33.89 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004372/0.3024, allocations: 396 kB / 0.5126 GB, free: 33.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.52e-05/0.3024, allocations: 35.45 kB / 0.5127 GB, free: 33.58 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/0.3025, allocations: 54.25 kB / 0.5127 GB, free: 33.56 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006802/0.3032, allocations: 0.6551 MB / 0.5134 GB, free: 33.2 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.3032, allocations: 6.75 kB / 0.5134 GB, free: 33.2 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.833e-05/0.3033, allocations: 22.23 kB / 0.5134 GB, free: 33.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001235/0.3034, allocations: 47.77 kB / 0.5134 GB, free: 33.18 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005799/0.304, allocations: 491.8 kB / 0.5139 GB, free: 33.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002242/0.3063, allocations: 3.168 MB / 0.517 GB, free: 30.53 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003508/0.3066, allocations: 239 kB / 0.5172 GB, free: 30.41 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001387/0.3068, allocations: 125.6 kB / 0.5174 GB, free: 30.36 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.866e-05/0.3068, allocations: 11.42 kB / 0.5174 GB, free: 30.35 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.3068, allocations: 37.53 kB / 0.5174 GB, free: 30.3 MB / 378.7 MB Notification: Performance of pre-optimization done (n=23): time 1.513e-06/0.3068, allocations: 0 / 0.5174 GB, free: 30.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.001214/0.3081, allocations: 0.887 MB / 0.5183 GB, free: 29.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/0.3081, allocations: 87.73 kB / 0.5183 GB, free: 29.65 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002366/0.3083, allocations: 327.7 kB / 0.5187 GB, free: 29.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.3084, allocations: 25.7 kB / 0.5187 GB, free: 29.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.3085, allocations: 290.7 kB / 0.519 GB, free: 29.21 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.236e-05/0.3085, allocations: 96.64 kB / 0.5191 GB, free: 29.13 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.624e-05/0.3085, allocations: 6.906 kB / 0.5191 GB, free: 29.13 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.695e-05/0.3086, allocations: 349.1 kB / 0.5194 GB, free: 28.8 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001608/0.3088, allocations: 126 kB / 0.5195 GB, free: 28.76 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002526/0.309, allocations: 329.3 kB / 0.5198 GB, free: 28.46 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004785/0.3095, allocations: 497.1 kB / 0.5203 GB, free: 28.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.3095, allocations: 6.344 kB / 0.5203 GB, free: 28.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008846/0.3104, allocations: 0.5873 MB / 0.5209 GB, free: 27.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.3104, allocations: 6.062 kB / 0.5209 GB, free: 27.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005361/0.311, allocations: 328.4 kB / 0.5212 GB, free: 27.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003779/0.3114, allocations: 118.8 kB / 0.5213 GB, free: 27.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002575/0.3116, allocations: 87.08 kB / 0.5214 GB, free: 27.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001781/0.3134, allocations: 3.031 MB / 0.5244 GB, free: 24.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002179/0.3137, allocations: 13.59 kB / 0.5244 GB, free: 24.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.939e-05/0.3137, allocations: 25.7 kB / 0.5244 GB, free: 24.89 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001881/0.3139, allocations: 219.9 kB / 0.5246 GB, free: 24.72 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.726e-05/0.314, allocations: 34.5 kB / 0.5246 GB, free: 24.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004094/0.3144, allocations: 321.8 kB / 0.5249 GB, free: 24.55 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.3144, allocations: 3 kB / 0.5249 GB, free: 24.55 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.3144, allocations: 0 / 0.5249 GB, free: 24.55 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.82e-06/0.3144, allocations: 6.312 kB / 0.525 GB, free: 24.55 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009155/0.3153, allocations: 0.8058 MB / 0.5257 GB, free: 24.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3153, allocations: 4.062 kB / 0.5257 GB, free: 24.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002839/0.3156, allocations: 59.44 kB / 0.5258 GB, free: 24.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.3156, allocations: 2.812 kB / 0.5258 GB, free: 24.04 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.106e-05/0.3157, allocations: 6.75 kB / 0.5258 GB, free: 24.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.3157, allocations: 2.906 kB / 0.5258 GB, free: 24.04 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.3157, allocations: 0 / 0.5258 GB, free: 24.04 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004888/0.3162, allocations: 0.5081 MB / 0.5263 GB, free: 23.74 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.632e-05/0.3163, allocations: 124.4 kB / 0.5264 GB, free: 23.62 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.875e-05/0.3163, allocations: 6.875 kB / 0.5264 GB, free: 23.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.3165, allocations: 13.2 kB / 0.5264 GB, free: 23.62 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.3165, allocations: 19.03 kB / 0.5265 GB, free: 23.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.3165, allocations: 9.719 kB / 0.5265 GB, free: 23.61 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001596/0.3167, allocations: 217.8 kB / 0.5267 GB, free: 23.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3167, allocations: 0 / 0.5267 GB, free: 23.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004172/0.3171, allocations: 102.3 kB / 0.5268 GB, free: 23.48 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (indYD.i[1],indYD.i[2],indYD.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 (27): * Single equations (assignments): 26 * 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.917e-05/0.3172, allocations: 113.7 kB / 0.5269 GB, free: 23.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006819/0.3179, allocations: 0.5786 MB / 0.5275 GB, free: 23.04 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3179, allocations: 0 / 0.5275 GB, free: 23.04 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.3181, allocations: 123.8 kB / 0.5276 GB, free: 23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004555/0.3186, allocations: 63.14 kB / 0.5276 GB, free: 22.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.3199, allocations: 1.262 MB / 0.5289 GB, free: 22.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.3202, allocations: 0.8725 MB / 0.5297 GB, free: 21.46 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002748/0.3205, allocations: 112.4 kB / 0.5298 GB, free: 21.44 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.628e-05/0.3205, allocations: 31.94 kB / 0.5299 GB, free: 21.43 MB / 378.7 MB Notification: Performance of SimCode: time 2e-07/0.3206, allocations: 0 / 0.5299 GB, free: 21.43 MB / 378.7 MB Notification: Performance of Templates: time 0.006192/0.3268, allocations: 3.629 MB / 0.5334 GB, free: 21.16 MB / 378.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches