Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.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.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p.1.|meterAC.p.2.|meterAC.p.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p.1.|meterAC.p.2.|meterAC.p.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008169/0.0008171, allocations: 183.1 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.228/1.228, allocations: 225.7 MB / 243.2 MB, free: 8.516 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.0007405/0.0007406, allocations: 91.03 kB / 294.4 MB, free: 9.547 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.269/0.269, allocations: 38.18 MB / 383.7 MB, free: 40.34 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002865/0.0002864, allocations: 11.98 kB / 453.6 MB, free: 8.773 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2744, allocations: 59.14 MB / 0.5007 GB, free: 38.96 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.006625/0.2811, allocations: 7.09 MB / 0.5076 GB, free: 36.83 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004064/0.2852, allocations: 3.608 MB / 0.5111 GB, free: 33.68 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006377/0.2859, allocations: 45.78 kB / 0.5112 GB, free: 33.66 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005176/0.2864, allocations: 149.2 kB / 0.5113 GB, free: 33.59 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00112/0.2875, allocations: 0.5079 MB / 0.5118 GB, free: 33.33 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008748/0.2884, allocations: 331.8 kB / 0.5121 GB, free: 33.18 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001554/0.29, allocations: 1.838 MB / 0.5139 GB, free: 32.58 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00111/0.2911, allocations: 1.255 MB / 0.5151 GB, free: 31.7 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000488/0.2916, allocations: 452 kB / 0.5156 GB, free: 31.53 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006756/0.2923, allocations: 0.6552 MB / 0.5162 GB, free: 31.32 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.393e-05/0.2924, allocations: 49.72 kB / 0.5163 GB, free: 31.32 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007259/0.2931, allocations: 0.4996 MB / 0.5168 GB, free: 31.2 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003724/0.2935, allocations: 402.6 kB / 0.5171 GB, free: 31.08 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004387/0.294, allocations: 481.1 kB / 0.5176 GB, free: 30.8 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001226/0.2952, allocations: 1.374 MB / 0.5189 GB, free: 30.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.2952, allocations: 0 / 0.5189 GB, free: 30.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.2952, allocations: 2.969 kB / 0.5189 GB, free: 30.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.232e-05/0.2952, allocations: 4 kB / 0.5189 GB, free: 30.43 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.001998/0.2973, allocations: 1.192 MB / 0.5201 GB, free: 29.71 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.2973, allocations: 8.656 kB / 0.5201 GB, free: 29.71 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006356/0.2979, allocations: 144.3 kB / 0.5203 GB, free: 29.67 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009038/0.2989, allocations: 0.6568 MB / 0.5209 GB, free: 29.26 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001709/0.299, allocations: 181.4 kB / 0.5211 GB, free: 29.12 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001767/0.2992, allocations: 100.4 kB / 0.5212 GB, free: 29.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001715/0.3009, allocations: 1.385 MB / 0.5225 GB, free: 28.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.301, allocations: 2.75 kB / 0.5225 GB, free: 28.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.658e-05/0.3011, allocations: 32.31 kB / 0.5226 GB, free: 28.45 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000122/0.3012, allocations: 72.97 kB / 0.5226 GB, free: 28.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001924/0.3031, allocations: 1.338 MB / 0.5239 GB, free: 28.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005102/0.3082, allocations: 4.976 MB / 0.5288 GB, free: 24.96 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001733/0.31, allocations: 1.205 MB / 0.53 GB, free: 24.49 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008807/0.3109, allocations: 0.6458 MB / 0.5306 GB, free: 24.27 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.989e-05/0.3109, allocations: 14.86 kB / 0.5306 GB, free: 24.26 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/0.311, allocations: 38.41 kB / 0.5306 GB, free: 24.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=72): time 2.795e-06/0.311, allocations: 0 / 0.5306 GB, free: 24.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=73): time 0.00468/0.3157, allocations: 3.298 MB / 0.5339 GB, free: 22.67 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.612e-05/0.3157, allocations: 83.95 kB / 0.5339 GB, free: 22.58 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003847/0.3161, allocations: 461.6 kB / 0.5344 GB, free: 22.36 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.351e-05/0.3161, allocations: 40 kB / 0.5344 GB, free: 22.32 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/0.3163, allocations: 400.3 kB / 0.5348 GB, free: 22 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/0.3164, allocations: 260.2 kB / 0.5351 GB, free: 21.79 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.149e-05/0.3165, allocations: 11.06 kB / 0.5351 GB, free: 21.79 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.382e-05/0.3166, allocations: 375.2 kB / 0.5354 GB, free: 21.45 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007263/0.3173, allocations: 0.5169 MB / 0.5359 GB, free: 21.29 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008047/0.3181, allocations: 0.7075 MB / 0.5366 GB, free: 20.9 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001555/0.3197, allocations: 1.258 MB / 0.5378 GB, free: 20.28 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.3197, allocations: 6.625 kB / 0.5379 GB, free: 20.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.003656/0.3233, allocations: 2.121 MB / 0.5399 GB, free: 19.55 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.3234, allocations: 10.5 kB / 0.5399 GB, free: 19.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003251/0.3266, allocations: 1.861 MB / 0.5418 GB, free: 18.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001648/0.3283, allocations: 0.7018 MB / 0.5424 GB, free: 18.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005916/0.3289, allocations: 159.4 kB / 0.5426 GB, free: 18.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009704/0.3386, allocations: 7.075 MB / 0.5495 GB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007072/0.3393, allocations: 88.84 kB / 0.5496 GB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.504e-05/0.3394, allocations: 32.62 kB / 0.5496 GB, free: 14.69 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (76): * Single equations (assignments): 73 * Array equations: 1 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,16)} Notification: Performance of prepare postOptimizeDAE: time 0.000468/0.3399, allocations: 315.2 kB / 0.5499 GB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/0.34, allocations: 62.88 kB / 0.55 GB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002273/0.3423, allocations: 1.34 MB / 0.5513 GB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.221e-05/0.3423, allocations: 14.12 kB / 0.5513 GB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.3424, allocations: 8.719 kB / 0.5513 GB, free: 13.88 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.3424, allocations: 8.359 kB / 0.5513 GB, free: 13.88 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003794/0.3462, allocations: 2.458 MB / 0.5537 GB, free: 12.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.3462, allocations: 2.344 kB / 0.5537 GB, free: 12.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00256/0.3488, allocations: 0.6345 MB / 0.5543 GB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.57e-05/0.3489, allocations: 35.77 kB / 0.5544 GB, free: 12.69 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.657e-05/0.3489, allocations: 16.55 kB / 0.5544 GB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007663/0.3497, allocations: 1.47 MB / 0.5558 GB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.3497, allocations: 5.125 kB / 0.5558 GB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003093/0.3528, allocations: 2.084 MB / 0.5579 GB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/0.3529, allocations: 128.8 kB / 0.558 GB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.3531, allocations: 14.88 kB / 0.558 GB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005287/0.3536, allocations: 79.78 kB / 0.5581 GB, free: 10.08 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001736/0.3538, allocations: 61.38 kB / 0.5581 GB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.094e-05/0.3538, allocations: 21.73 kB / 0.5582 GB, free: 10.04 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003228/0.3542, allocations: 319.5 kB / 0.5585 GB, free: 9.844 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3542, allocations: 0 / 0.5585 GB, free: 9.844 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000937/0.3551, allocations: 236.5 kB / 0.5587 GB, free: 9.816 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],meterDC.pav) * 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 (67): * Single equations (assignments): 64 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000203/0.3553, allocations: 134.4 kB / 0.5588 GB, free: 9.703 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002624/0.358, allocations: 1.599 MB / 0.5604 GB, free: 8.824 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.358, allocations: 0 / 0.5604 GB, free: 8.824 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002364/0.3603, allocations: 1.152 MB / 0.5615 GB, free: 7.773 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007825/0.3611, allocations: 156 kB / 0.5616 GB, free: 7.625 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003499/0.3647, allocations: 2.774 MB / 0.5644 GB, free: 4.805 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004675/0.3651, allocations: 1.071 MB / 0.5654 GB, free: 3.707 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005401/0.3657, allocations: 209.5 kB / 0.5656 GB, free: 3.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001886/0.3659, allocations: 55.42 kB / 0.5657 GB, free: 3.445 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3659, allocations: 4 kB / 0.5657 GB, free: 3.441 MB / 378.7 MB Notification: Performance of Templates: time 0.01834/0.3842, allocations: 12.46 MB / 0.5778 GB, free: 7.051 MB / 394.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Rectifier.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches