Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002538/0.002538, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.816/1.816, allocations: 205.1 MB / 223.1 MB, free: 8.465 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001203/0.001202, allocations: 98.23 kB / 270.5 MB, free: 8.43 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1856/0.1856, allocations: 38.01 MB / 355.8 MB, free: 2.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001213, allocations: 55.92 kB / 421.9 MB, free: 37.76 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3351, allocations: 55.23 MB / 477.1 MB, free: 9.91 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.008472/0.3436, allocations: 7.385 MB / 484.5 MB, free: 4.68 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004167/0.3478, allocations: 1.812 MB / 486.3 MB, free: 3.383 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001089/0.3489, allocations: 45.88 kB / 486.3 MB, free: 3.363 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008113/0.3498, allocations: 126.5 kB / 486.5 MB, free: 3.301 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001272/0.3511, allocations: 402.8 kB / 486.9 MB, free: 3.082 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005628/0.3517, allocations: 180.5 kB / 487 MB, free: 2.984 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001986/0.3537, allocations: 1.672 MB / 488.7 MB, free: 2.453 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004302/0.3541, allocations: 285.9 kB / 489 MB, free: 2.348 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007296/0.3548, allocations: 418.1 kB / 489.4 MB, free: 2.176 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000892/0.3558, allocations: 0.5594 MB / 490 MB, free: 1.988 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001036/0.3559, allocations: 39.81 kB / 490 MB, free: 1.988 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001516/0.356, allocations: 40.19 kB / 490 MB, free: 1.988 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003591/0.3564, allocations: 291.4 kB / 490.3 MB, free: 1.898 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003519/0.3568, allocations: 353.8 kB / 490.7 MB, free: 1.703 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009467/0.3577, allocations: 0.8337 MB / 491.5 MB, free: 1.402 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.3577, allocations: 0 / 491.5 MB, free: 1.402 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.3577, allocations: 0 / 491.5 MB, free: 1.402 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.558e-05/0.3578, allocations: 4 kB / 491.5 MB, free: 1.398 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002257/0.36, allocations: 1.023 MB / 492.5 MB, free: 0.7148 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.3601, allocations: 8.25 kB / 492.5 MB, free: 0.7148 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001709/0.3603, allocations: 75.14 kB / 492.6 MB, free: 0.6797 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/0.3613, allocations: 0.5589 MB / 493.2 MB, free: 312 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001724/0.3615, allocations: 122.3 kB / 493.3 MB, free: 216 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.3616, allocations: 54.08 kB / 493.3 MB, free: 200 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001936/0.3636, allocations: 0.7808 MB / 494.1 MB, free: 15.85 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.61e-05/0.3636, allocations: 5.031 kB / 494.1 MB, free: 15.84 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.433e-05/0.3637, allocations: 22.16 kB / 494.1 MB, free: 15.83 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002014/0.3639, allocations: 35.2 kB / 494.2 MB, free: 15.82 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001919/0.3659, allocations: 0.6929 MB / 494.9 MB, free: 15.61 MB / 330.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005251/0.3711, allocations: 2.718 MB / 497.6 MB, free: 13.8 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001882/0.373, allocations: 0.8819 MB / 498.5 MB, free: 13.22 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000584/0.3736, allocations: 327.8 kB / 498.8 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.742e-05/0.3737, allocations: 4 kB / 498.8 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/0.3737, allocations: 40.38 kB / 498.8 MB, free: 13.01 MB / 330.7 MB Notification: Performance of pre-optimization done (n=38): time 3.096e-06/0.3737, allocations: 3.938 kB / 498.8 MB, free: 13 MB / 330.7 MB Notification: Performance of matching and sorting (n=39): time 0.00475/0.3785, allocations: 1.929 MB / 0.489 GB, free: 11.68 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/0.3786, allocations: 85.61 kB / 0.4891 GB, free: 11.58 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005978/0.3792, allocations: 420.2 kB / 0.4895 GB, free: 11.32 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.809e-05/0.3792, allocations: 35.98 kB / 0.4895 GB, free: 11.29 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000258/0.3795, allocations: 318.5 kB / 0.4898 GB, free: 11 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.3797, allocations: 138.6 kB / 0.49 GB, free: 10.88 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001736/0.3798, allocations: 81.81 kB / 0.4901 GB, free: 10.83 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.38, allocations: 365.5 kB / 0.4904 GB, free: 10.48 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005409/0.3806, allocations: 235.7 kB / 0.4906 GB, free: 10.37 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005717/0.3811, allocations: 351.6 kB / 0.491 GB, free: 10.11 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/0.3822, allocations: 0.5851 MB / 0.4915 GB, free: 9.727 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.3822, allocations: 1.375 kB / 0.4915 GB, free: 9.727 MB / 330.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001592/0.3838, allocations: 0.7872 MB / 0.4923 GB, free: 9.254 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.3839, allocations: 11.12 kB / 0.4923 GB, free: 9.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.3839, allocations: 3.688 kB / 0.4923 GB, free: 9.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000276/0.3842, allocations: 76.81 kB / 0.4924 GB, free: 9.207 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001519/0.3857, allocations: 281.9 kB / 0.4927 GB, free: 9.113 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005886/0.3916, allocations: 6.009 MB / 0.4985 GB, free: 3.215 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005153/0.3922, allocations: 38.33 kB / 0.4986 GB, free: 3.195 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-05/0.3922, allocations: 22.69 kB / 0.4986 GB, free: 3.188 MB / 330.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 (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003975/0.3926, allocations: 239 kB / 0.4988 GB, free: 2.996 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.3927, allocations: 45.28 kB / 0.4989 GB, free: 2.973 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001408/0.3942, allocations: 0.7343 MB / 0.4996 GB, free: 2.496 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.3942, allocations: 4.125 kB / 0.4996 GB, free: 2.496 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.3942, allocations: 5.375 kB / 0.4996 GB, free: 2.492 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.3942, allocations: 0 / 0.4996 GB, free: 2.492 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002955/0.3972, allocations: 1.501 MB / 0.5011 GB, free: 1.441 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.3972, allocations: 5.031 kB / 0.5011 GB, free: 1.438 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00173/0.3989, allocations: 300.6 kB / 0.5013 GB, free: 1.332 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002994/0.3992, allocations: 91.2 kB / 0.5014 GB, free: 1.277 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.402e-05/0.3993, allocations: 10.97 kB / 0.5014 GB, free: 1.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002768/0.4021, allocations: 2.882 MB / 0.5043 GB, free: 14.17 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.213e-06/0.4021, allocations: 7.969 kB / 0.5043 GB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01365/0.4158, allocations: 8.388 MB / 0.5125 GB, free: 5.238 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001881/0.416, allocations: 124.5 kB / 0.5126 GB, free: 5.098 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.288e-05/0.4161, allocations: 12.03 kB / 0.5126 GB, free: 5.086 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003499/0.4165, allocations: 27.97 kB / 0.5126 GB, free: 5.059 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000162/0.4166, allocations: 35.94 kB / 0.5126 GB, free: 5.023 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.217e-05/0.4167, allocations: 12 kB / 0.5127 GB, free: 5.012 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004033/0.4171, allocations: 299.1 kB / 0.5129 GB, free: 4.723 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4171, allocations: 0 / 0.5129 GB, free: 4.723 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001019/0.4181, allocations: 200 kB / 0.5131 GB, free: 4.527 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,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 (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001687/0.4183, allocations: 111.2 kB / 0.5132 GB, free: 4.41 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00277/0.4211, allocations: 0.9897 MB / 0.5142 GB, free: 3.395 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.4211, allocations: 0 / 0.5142 GB, free: 3.395 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002256/0.4234, allocations: 0.7238 MB / 0.5149 GB, free: 2.645 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001316/0.4247, allocations: 138.5 kB / 0.515 GB, free: 2.512 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004345/0.4291, allocations: 2.213 MB / 0.5172 GB, free: 228 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007972/0.4299, allocations: 0.9603 MB / 0.5181 GB, free: 15.23 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004733/0.4304, allocations: 108.5 kB / 0.5182 GB, free: 15.13 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001756/0.4306, allocations: 39.44 kB / 0.5183 GB, free: 15.09 MB / 362.7 MB Notification: Performance of SimCode: time 7.72e-07/0.4306, allocations: 0 / 0.5183 GB, free: 15.09 MB / 362.7 MB Notification: Performance of Templates: time 0.01689/0.4475, allocations: 8.921 MB / 0.527 GB, free: 6.184 MB / 362.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches