Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008498/0.0008502, allocations: 181.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.212/1.212, allocations: 225.7 MB / 243.2 MB, free: 8.465 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.0007599/0.0007603, allocations: 98.44 kB / 294.4 MB, free: 9.504 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.2677/0.2677, allocations: 38.18 MB / 383.7 MB, free: 40.32 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004594/0.0004595, allocations: 8 kB / 453.6 MB, free: 8.773 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2871, allocations: 59.15 MB / 0.5007 GB, free: 39.13 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.005502/0.2927, allocations: 5.933 MB / 0.5065 GB, free: 37.78 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002595/0.2953, allocations: 1.937 MB / 0.5084 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003409/0.2957, allocations: 35.84 kB / 0.5084 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003891/0.2961, allocations: 117.5 kB / 0.5085 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007302/0.2968, allocations: 341.4 kB / 0.5088 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000272/0.2971, allocations: 121.4 kB / 0.509 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001078/0.2982, allocations: 1.142 MB / 0.5101 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002723/0.2984, allocations: 168.6 kB / 0.5102 GB, free: 35.49 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000463/0.2989, allocations: 281.5 kB / 0.5105 GB, free: 35.38 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006027/0.2995, allocations: 380 kB / 0.5109 GB, free: 35.25 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.638e-05/0.2996, allocations: 23.03 kB / 0.5109 GB, free: 35.25 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.579e-05/0.2997, allocations: 19.53 kB / 0.5109 GB, free: 35.25 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001912/0.2999, allocations: 180.3 kB / 0.5111 GB, free: 35.2 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002065/0.3001, allocations: 262.6 kB / 0.5113 GB, free: 35.03 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003433/0.3005, allocations: 0.4967 MB / 0.5118 GB, free: 34.87 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3005, allocations: 1.25 kB / 0.5118 GB, free: 34.87 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3005, allocations: 0 / 0.5118 GB, free: 34.87 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.3005, allocations: 0 / 0.5118 GB, free: 34.87 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001007/0.3015, allocations: 0.7202 MB / 0.5125 GB, free: 34.33 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.3015, allocations: 17.88 kB / 0.5125 GB, free: 34.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.708e-05/0.3016, allocations: 52.91 kB / 0.5126 GB, free: 34.3 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000552/0.3022, allocations: 452.8 kB / 0.513 GB, free: 33.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.087e-05/0.3022, allocations: 33.09 kB / 0.513 GB, free: 33.97 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.866e-05/0.3023, allocations: 39.44 kB / 0.5131 GB, free: 33.96 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000613/0.3029, allocations: 0.4959 MB / 0.5136 GB, free: 33.7 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.3029, allocations: 3.938 kB / 0.5136 GB, free: 33.7 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.237e-05/0.303, allocations: 21.72 kB / 0.5136 GB, free: 33.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.955e-05/0.303, allocations: 20.39 kB / 0.5136 GB, free: 33.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004465/0.3035, allocations: 361 kB / 0.514 GB, free: 33.56 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001785/0.3053, allocations: 2.1 MB / 0.516 GB, free: 31.96 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003171/0.3056, allocations: 239.1 kB / 0.5162 GB, free: 31.85 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001834/0.3058, allocations: 141.9 kB / 0.5164 GB, free: 31.78 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.3058, allocations: 2.969 kB / 0.5164 GB, free: 31.78 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.3058, allocations: 34.56 kB / 0.5164 GB, free: 31.74 MB / 378.7 MB Notification: Performance of pre-optimization done (n=22): time 1.924e-06/0.3058, allocations: 3.938 kB / 0.5164 GB, free: 31.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=23): time 0.001004/0.3069, allocations: 0.7502 MB / 0.5171 GB, free: 31.22 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/0.3069, allocations: 80.23 kB / 0.5172 GB, free: 31.12 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003349/0.3072, allocations: 382.1 kB / 0.5176 GB, free: 30.93 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.3073, allocations: 34.89 kB / 0.5176 GB, free: 30.89 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.3074, allocations: 291.9 kB / 0.5179 GB, free: 30.65 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.51e-05/0.3074, allocations: 79.88 kB / 0.518 GB, free: 30.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.356e-05/0.3075, allocations: 9.938 kB / 0.518 GB, free: 30.58 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.847e-05/0.3075, allocations: 350 kB / 0.5183 GB, free: 30.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.3077, allocations: 82.84 kB / 0.5184 GB, free: 30.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001921/0.3079, allocations: 281.2 kB / 0.5187 GB, free: 29.95 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003234/0.3082, allocations: 395 kB / 0.519 GB, free: 29.6 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.3082, allocations: 2.938 kB / 0.519 GB, free: 29.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006036/0.3088, allocations: 455.4 kB / 0.5195 GB, free: 29.39 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.3088, allocations: 7.688 kB / 0.5195 GB, free: 29.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.3089, allocations: 8.234 kB / 0.5195 GB, free: 29.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000186/0.3091, allocations: 55.31 kB / 0.5195 GB, free: 29.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002282/0.3093, allocations: 79.48 kB / 0.5196 GB, free: 29.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009906/0.3103, allocations: 1.487 MB / 0.5211 GB, free: 27.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001975/0.3105, allocations: 18.42 kB / 0.5211 GB, free: 27.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.526e-05/0.3105, allocations: 25.61 kB / 0.5211 GB, free: 27.95 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: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001973/0.3107, allocations: 206.6 kB / 0.5213 GB, free: 27.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.753e-05/0.3108, allocations: 35.69 kB / 0.5213 GB, free: 27.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002979/0.3111, allocations: 246.2 kB / 0.5216 GB, free: 27.65 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.3111, allocations: 3.188 kB / 0.5216 GB, free: 27.65 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.3111, allocations: 4.125 kB / 0.5216 GB, free: 27.65 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.3111, allocations: 3.938 kB / 0.5216 GB, free: 27.64 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006346/0.3118, allocations: 0.6823 MB / 0.5223 GB, free: 27.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.3118, allocations: 0 / 0.5223 GB, free: 27.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000206/0.312, allocations: 52.69 kB / 0.5223 GB, free: 27.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.312, allocations: 2.812 kB / 0.5223 GB, free: 27.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.312, allocations: 10.81 kB / 0.5223 GB, free: 27.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.312, allocations: 3.328 kB / 0.5223 GB, free: 27.17 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.312, allocations: 0 / 0.5223 GB, free: 27.17 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003598/0.3124, allocations: 434.8 kB / 0.5227 GB, free: 26.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.158e-05/0.3125, allocations: 126.6 kB / 0.5229 GB, free: 26.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.419e-05/0.3125, allocations: 2.781 kB / 0.5229 GB, free: 26.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.3126, allocations: 10.02 kB / 0.5229 GB, free: 26.78 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.658e-05/0.3127, allocations: 13.25 kB / 0.5229 GB, free: 26.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.3127, allocations: 5.688 kB / 0.5229 GB, free: 26.78 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001741/0.3129, allocations: 257.4 kB / 0.5231 GB, free: 26.64 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3129, allocations: 7 kB / 0.5231 GB, free: 26.64 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003592/0.3132, allocations: 85.44 kB / 0.5232 GB, free: 26.63 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (trafo.i1) * 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 7.835e-05/0.3133, allocations: 119 kB / 0.5233 GB, free: 26.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004669/0.3138, allocations: 389.4 kB / 0.5237 GB, free: 26.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3138, allocations: 0 / 0.5237 GB, free: 26.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.3139, allocations: 89.11 kB / 0.5238 GB, free: 26.29 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005122/0.3145, allocations: 89.3 kB / 0.5239 GB, free: 26.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.3155, allocations: 1.069 MB / 0.5249 GB, free: 25.58 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002218/0.3157, allocations: 0.8591 MB / 0.5258 GB, free: 24.87 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002287/0.316, allocations: 84.92 kB / 0.5258 GB, free: 24.85 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.227e-05/0.316, allocations: 34.97 kB / 0.5259 GB, free: 24.84 MB / 378.7 MB Notification: Performance of SimCode: time 4.91e-07/0.316, allocations: 0 / 0.5259 GB, free: 24.84 MB / 378.7 MB Notification: Performance of Templates: time 0.006085/0.3221, allocations: 3.385 MB / 0.5292 GB, free: 24.57 MB / 378.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches