Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.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.Inverters.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.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.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.Inverters.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001493/0.001493, 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.468/1.468, allocations: 205.1 MB / 223.1 MB, free: 8.477 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.001142/0.001142, allocations: 101.1 kB / 270.5 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1835/0.1835, allocations: 38.01 MB / 355.8 MB, free: 2.934 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001019/0.001019, allocations: 47.92 kB / 421.9 MB, free: 37.78 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3948/0.3958, allocations: 55.24 MB / 477.1 MB, free: 9.91 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.009105/0.405, allocations: 7.088 MB / 484.2 MB, free: 4.914 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00345/0.4085, allocations: 1.725 MB / 485.9 MB, free: 3.684 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004106/0.4089, allocations: 39.41 kB / 486 MB, free: 3.668 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005132/0.4095, allocations: 120.1 kB / 486.1 MB, free: 3.609 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009413/0.4104, allocations: 388.6 kB / 486.4 MB, free: 3.398 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004775/0.4109, allocations: 168.2 kB / 486.6 MB, free: 3.305 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001919/0.4128, allocations: 1.626 MB / 488.2 MB, free: 2.789 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004913/0.4133, allocations: 288.8 kB / 488.5 MB, free: 2.68 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007516/0.4141, allocations: 396.4 kB / 488.9 MB, free: 2.523 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001036/0.4151, allocations: 0.544 MB / 489.5 MB, free: 2.344 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001087/0.4153, allocations: 40.69 kB / 489.5 MB, free: 2.344 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001543/0.4154, allocations: 43.62 kB / 489.5 MB, free: 2.34 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004389/0.4159, allocations: 281.1 kB / 489.8 MB, free: 2.254 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004268/0.4163, allocations: 342.6 kB / 490.1 MB, free: 2.066 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001276/0.4176, allocations: 0.8096 MB / 491 MB, free: 1.773 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.4176, allocations: 4.609 kB / 491 MB, free: 1.77 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.4176, allocations: 0 / 491 MB, free: 1.77 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.4176, allocations: 0 / 491 MB, free: 1.77 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.002664/0.4203, allocations: 1.008 MB / 492 MB, free: 1.094 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.425e-05/0.4204, allocations: 9.188 kB / 492 MB, free: 1.094 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001898/0.4206, allocations: 72.45 kB / 492 MB, free: 1.059 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001229/0.4218, allocations: 0.5414 MB / 492.6 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002007/0.422, allocations: 117.5 kB / 492.7 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/0.4222, allocations: 56.48 kB / 492.8 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001776/0.4239, allocations: 0.772 MB / 493.5 MB, free: 256 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.424, allocations: 5.344 kB / 493.5 MB, free: 252 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.146e-05/0.424, allocations: 26.2 kB / 493.6 MB, free: 232 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001295/0.4242, allocations: 38.39 kB / 493.6 MB, free: 224 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001646/0.4258, allocations: 0.7207 MB / 494.3 MB, free: 4 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004966/0.4308, allocations: 2.619 MB / 496.9 MB, free: 14.32 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00172/0.4326, allocations: 0.8093 MB / 497.7 MB, free: 13.84 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007442/0.4333, allocations: 399.5 kB / 498.1 MB, free: 13.64 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.339e-05/0.4334, allocations: 6.344 kB / 498.1 MB, free: 13.64 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/0.4334, allocations: 36.56 kB / 498.2 MB, free: 13.6 MB / 330.7 MB Notification: Performance of pre-optimization done (n=50): time 3.717e-06/0.4334, allocations: 5.281 kB / 498.2 MB, free: 13.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=51): time 0.004858/0.4383, allocations: 2.136 MB / 0.4886 GB, free: 12.17 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.956e-05/0.4384, allocations: 83.23 kB / 0.4887 GB, free: 12.08 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000536/0.4389, allocations: 395.9 kB / 0.489 GB, free: 11.84 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.524e-05/0.439, allocations: 39.42 kB / 0.4891 GB, free: 11.8 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002172/0.4392, allocations: 291.2 kB / 0.4894 GB, free: 11.54 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001645/0.4394, allocations: 178.8 kB / 0.4895 GB, free: 11.38 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001735/0.4396, allocations: 100.1 kB / 0.4896 GB, free: 11.32 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.4398, allocations: 359.6 kB / 0.49 GB, free: 10.97 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005913/0.4404, allocations: 268.8 kB / 0.4902 GB, free: 10.84 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006407/0.441, allocations: 383.2 kB / 0.4906 GB, free: 10.58 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001281/0.4423, allocations: 0.6491 MB / 0.4912 GB, free: 10.18 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.4423, allocations: 5.156 kB / 0.4912 GB, free: 10.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001769/0.4441, allocations: 0.8769 MB / 0.4921 GB, free: 9.664 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.397e-05/0.4442, allocations: 7.875 kB / 0.4921 GB, free: 9.664 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.4442, allocations: 3.781 kB / 0.4921 GB, free: 9.664 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003397/0.4445, allocations: 72.2 kB / 0.4922 GB, free: 9.625 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001569/0.4461, allocations: 314.5 kB / 0.4925 GB, free: 9.516 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00604/0.4522, allocations: 6.035 MB / 0.4984 GB, free: 3.594 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005877/0.4528, allocations: 39.39 kB / 0.4984 GB, free: 3.574 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-05/0.4528, allocations: 19.19 kB / 0.4984 GB, free: 3.57 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (65): * Single equations (assignments): 61 * 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.0005044/0.4533, allocations: 234.3 kB / 0.4986 GB, free: 3.383 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.4535, allocations: 47.72 kB / 0.4987 GB, free: 3.359 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001715/0.4552, allocations: 0.8266 MB / 0.4995 GB, free: 2.832 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/0.4552, allocations: 9.484 kB / 0.4995 GB, free: 2.828 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.4552, allocations: 1.375 kB / 0.4995 GB, free: 2.828 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.4552, allocations: 4 kB / 0.4995 GB, free: 2.824 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003349/0.4586, allocations: 1.68 MB / 0.5012 GB, free: 1.652 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.4586, allocations: 4.188 kB / 0.5012 GB, free: 1.648 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001609/0.4602, allocations: 323.5 kB / 0.5015 GB, free: 1.332 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002668/0.4605, allocations: 89.62 kB / 0.5015 GB, free: 1.238 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.267e-05/0.4606, allocations: 12 kB / 0.5016 GB, free: 1.227 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002277/0.4628, allocations: 2.899 MB / 0.5044 GB, free: 14.06 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.4629, allocations: 4 kB / 0.5044 GB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01438/0.4772, allocations: 9.465 MB / 0.5136 GB, free: 4.047 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001522/0.4775, allocations: 128.4 kB / 0.5138 GB, free: 3.902 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.917e-05/0.4775, allocations: 16.03 kB / 0.5138 GB, free: 3.887 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003549/0.4779, allocations: 35.95 kB / 0.5138 GB, free: 3.852 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001589/0.4781, allocations: 47.88 kB / 0.5139 GB, free: 3.805 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.565e-05/0.4781, allocations: 15.94 kB / 0.5139 GB, free: 3.789 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003669/0.4785, allocations: 287.1 kB / 0.5141 GB, free: 3.512 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4785, allocations: 0 / 0.5141 GB, free: 3.512 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009561/0.4794, allocations: 208 kB / 0.5143 GB, free: 3.309 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (51): * Single equations (assignments): 48 * 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.0001667/0.4796, allocations: 123 kB / 0.5145 GB, free: 3.18 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002643/0.4823, allocations: 1.07 MB / 0.5155 GB, free: 2.082 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.4823, allocations: 7.938 kB / 0.5155 GB, free: 2.074 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002099/0.4844, allocations: 0.798 MB / 0.5163 GB, free: 1.25 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008544/0.4853, allocations: 126.1 kB / 0.5164 GB, free: 1.129 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004269/0.4895, allocations: 2.42 MB / 0.5188 GB, free: 14.62 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005424/0.4901, allocations: 0.9605 MB / 0.5197 GB, free: 13.64 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005195/0.4906, allocations: 144.7 kB / 0.5199 GB, free: 13.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001598/0.4908, allocations: 43.42 kB / 0.5199 GB, free: 13.45 MB / 362.7 MB Notification: Performance of SimCode: time 1.293e-06/0.4908, allocations: 3.938 kB / 0.5199 GB, free: 13.45 MB / 362.7 MB Notification: Performance of Templates: time 0.01523/0.506, allocations: 9.334 MB / 0.529 GB, free: 4.129 MB / 362.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches