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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001006/0.001006, allocations: 181.2 kB / 8.13 MB, free: 2.199 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.27/1.27, allocations: 205.2 MB / 213.7 MB, free: 13.87 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.0009749/0.0009749, allocations: 81 kB / 261.7 MB, free: 13.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1653/0.1653, allocations: 37.97 MB / 347.7 MB, free: 7.496 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.972e-06/6.092e-06, allocations: 0 / 410 MB, free: 46.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09781/0.09784, allocations: 56.32 MB / 466.3 MB, free: 6.48 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.295/0.3928, allocations: 99.17 MB / 0.5522 GB, free: 11.43 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/0.3931, allocations: 91.94 kB / 0.5523 GB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.04029/0.4334, allocations: 14.12 MB / 0.5661 GB, free: 13.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.372e-05/0.4335, allocations: 12 kB / 0.5661 GB, free: 13.02 MB / 410.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.001581/0.4351, allocations: 0.8683 MB / 0.567 GB, free: 12.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.4351, allocations: 16.03 kB / 0.567 GB, free: 12.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001477/0.4353, allocations: 71.16 kB / 0.5671 GB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002763/0.438, allocations: 1.098 MB / 0.5681 GB, free: 10.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001559/0.4382, allocations: 100.7 kB / 0.5682 GB, free: 10.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.785e-05/0.4383, allocations: 39.91 kB / 0.5683 GB, free: 10.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001031/0.4394, allocations: 0.6155 MB / 0.5689 GB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009946/0.4404, allocations: 0.6632 MB / 0.5695 GB, free: 9.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.4404, allocations: 0 / 0.5695 GB, free: 9.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.208e-05/0.4405, allocations: 4 kB / 0.5695 GB, free: 9.406 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.58e-05/0.4405, allocations: 16 kB / 0.5695 GB, free: 9.391 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003633/0.4441, allocations: 2.529 MB / 0.572 GB, free: 6.781 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000478/0.4446, allocations: 361.3 kB / 0.5724 GB, free: 6.414 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004734/0.4451, allocations: 355.5 kB / 0.5727 GB, free: 6.059 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.074e-05/0.4451, allocations: 4.438 kB / 0.5727 GB, free: 6.055 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.4452, allocations: 39 kB / 0.5727 GB, free: 6.008 MB / 410.7 MB Notification: Performance of pre-optimization done (n=50): time 2.675e-06/0.4452, allocations: 3.938 kB / 0.5727 GB, free: 6.004 MB / 410.7 MB Notification: Performance of matching and sorting (n=51): time 0.002261/0.4475, allocations: 1.461 MB / 0.5742 GB, free: 4.465 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/0.4475, allocations: 89.48 kB / 0.5743 GB, free: 4.359 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003612/0.4479, allocations: 294.1 kB / 0.5745 GB, free: 4.066 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.627e-05/0.4479, allocations: 25.7 kB / 0.5746 GB, free: 4.035 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.4481, allocations: 244.3 kB / 0.5748 GB, free: 3.789 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001281/0.4482, allocations: 169.4 kB / 0.575 GB, free: 3.621 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.583e-05/0.4482, allocations: 0 / 0.575 GB, free: 3.621 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.4484, allocations: 354.8 kB / 0.5753 GB, free: 3.266 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000326/0.4487, allocations: 237.2 kB / 0.5755 GB, free: 3.031 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004098/0.4491, allocations: 329.2 kB / 0.5758 GB, free: 2.676 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003772/0.4495, allocations: 265.3 kB / 0.5761 GB, free: 2.418 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.4495, allocations: 0 / 0.5761 GB, free: 2.418 MB / 410.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00113/0.4507, allocations: 0.764 MB / 0.5768 GB, free: 1.621 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.4507, allocations: 5.406 kB / 0.5768 GB, free: 1.617 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.4507, allocations: 4 kB / 0.5768 GB, free: 1.613 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002642/0.451, allocations: 81.98 kB / 0.5769 GB, free: 1.527 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001798/0.4528, allocations: 427.6 kB / 0.5773 GB, free: 1.109 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004775/0.4576, allocations: 5.679 MB / 0.5829 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005266/0.4581, allocations: 40.11 kB / 0.5829 GB, free: 10.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.674e-05/0.4582, allocations: 23.91 kB / 0.5829 GB, free: 10.91 MB / 426.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 () * 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 (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001655/0.4584, allocations: 120.8 kB / 0.583 GB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.738e-05/0.4584, allocations: 47.44 kB / 0.5831 GB, free: 10.74 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001138/0.4596, allocations: 0.7175 MB / 0.5838 GB, free: 9.988 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.4596, allocations: 8 kB / 0.5838 GB, free: 9.98 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.4596, allocations: 0 / 0.5838 GB, free: 9.98 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.874e-06/0.4596, allocations: 3.984 kB / 0.5838 GB, free: 9.977 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002351/0.462, allocations: 1.505 MB / 0.5853 GB, free: 8.383 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/0.462, allocations: 3.906 kB / 0.5853 GB, free: 8.379 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001887/0.4639, allocations: 475.6 kB / 0.5857 GB, free: 7.914 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002444/0.4642, allocations: 77.66 kB / 0.5858 GB, free: 7.832 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.269e-05/0.4642, allocations: 7.984 kB / 0.5858 GB, free: 7.824 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001992/0.4662, allocations: 2.729 MB / 0.5885 GB, free: 4.867 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.4662, allocations: 0 / 0.5885 GB, free: 4.867 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001529/0.4678, allocations: 1.265 MB / 0.5897 GB, free: 3.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001544/0.4679, allocations: 116.5 kB / 0.5898 GB, free: 3.367 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.119e-05/0.468, allocations: 7.984 kB / 0.5898 GB, free: 3.359 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00037/0.4684, allocations: 39.91 kB / 0.5899 GB, free: 3.32 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.4685, allocations: 47.61 kB / 0.5899 GB, free: 3.273 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.461e-05/0.4686, allocations: 19.98 kB / 0.5899 GB, free: 3.254 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0002527/0.4688, allocations: 224.6 kB / 0.5901 GB, free: 3.039 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000686/0.4695, allocations: 139.9 kB / 0.5903 GB, free: 2.902 MB / 426.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000201/0.4697, allocations: 123.2 kB / 0.5904 GB, free: 2.773 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002644/0.4724, allocations: 1.172 MB / 0.5915 GB, free: 1.574 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4724, allocations: 384 / 0.5915 GB, free: 1.574 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00253/0.4749, allocations: 1.003 MB / 0.5925 GB, free: 0.5508 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006637/0.4756, allocations: 89.22 kB / 0.5926 GB, free: 472 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003074/0.4787, allocations: 1.274 MB / 0.5939 GB, free: 15.13 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007916/0.4795, allocations: 0.9912 MB / 0.5948 GB, free: 14.11 MB / 442.7 MB Notification: Performance of SimCode: time 5.21e-07/0.4795, allocations: 0 / 0.5948 GB, free: 14.11 MB / 442.7 MB Notification: Performance of Templates: time 0.01323/0.4928, allocations: 7.013 MB / 0.6017 GB, free: 7.098 MB / 442.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/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