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") [: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.001489/0.001489, allocations: 184.2 kB / 8.136 MB, free: 2.207 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.226/1.226, 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.0008513/0.0008512, allocations: 87.75 kB / 261.7 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1614/0.1614, allocations: 37.97 MB / 347.7 MB, free: 7.484 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.617e-06/8.647e-06, allocations: 0 / 410 MB, free: 46.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1066, allocations: 56.32 MB / 466.3 MB, free: 6.484 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2792/0.3858, allocations: 99.49 MB / 0.5526 GB, free: 11.1 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002868/0.3862, allocations: 87.95 kB / 0.5526 GB, free: 11.02 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.03996/0.4261, allocations: 13.66 MB / 0.566 GB, free: 13.22 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.964e-05/0.4262, allocations: 16 kB / 0.566 GB, free: 13.21 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.001772/0.428, allocations: 0.8917 MB / 0.5669 GB, free: 12.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.428, allocations: 12.03 kB / 0.5669 GB, free: 12.25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002033/0.4283, allocations: 71.16 kB / 0.5669 GB, free: 12.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002772/0.431, allocations: 1.116 MB / 0.568 GB, free: 11.03 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001608/0.4312, allocations: 104.7 kB / 0.5681 GB, free: 10.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/0.4313, allocations: 32 kB / 0.5682 GB, free: 10.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001002/0.4324, allocations: 0.5765 MB / 0.5687 GB, free: 10.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/0.4334, allocations: 0.6671 MB / 0.5694 GB, free: 9.594 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.4334, allocations: 3.938 kB / 0.5694 GB, free: 9.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.115e-05/0.4335, allocations: 4 kB / 0.5694 GB, free: 9.586 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/0.4335, allocations: 12 kB / 0.5694 GB, free: 9.574 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004128/0.4376, allocations: 2.717 MB / 0.5721 GB, free: 6.785 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006315/0.4383, allocations: 0.4933 MB / 0.5725 GB, free: 6.273 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000389/0.4387, allocations: 281.7 kB / 0.5728 GB, free: 5.992 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.427e-05/0.4387, allocations: 11.92 kB / 0.5728 GB, free: 5.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.4388, allocations: 42.56 kB / 0.5729 GB, free: 5.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=38): time 2.314e-06/0.4388, allocations: 0 / 0.5729 GB, free: 5.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.002108/0.4409, allocations: 1.306 MB / 0.5741 GB, free: 4.543 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.4409, allocations: 81.11 kB / 0.5742 GB, free: 4.445 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003382/0.4413, allocations: 320.8 kB / 0.5745 GB, free: 4.129 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.208e-05/0.4413, allocations: 29.73 kB / 0.5745 GB, free: 4.094 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/0.4415, allocations: 264 kB / 0.5748 GB, free: 3.828 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.4416, allocations: 130 kB / 0.5749 GB, free: 3.699 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.211e-05/0.4416, allocations: 0 / 0.5749 GB, free: 3.699 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.4417, allocations: 358.8 kB / 0.5753 GB, free: 3.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002783/0.442, allocations: 192.9 kB / 0.5754 GB, free: 3.152 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003372/0.4424, allocations: 304.7 kB / 0.5757 GB, free: 2.809 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003205/0.4427, allocations: 227.6 kB / 0.576 GB, free: 2.586 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.4427, allocations: 0 / 0.576 GB, free: 2.586 MB / 410.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009808/0.4437, allocations: 0.6708 MB / 0.5766 GB, free: 1.883 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.4437, allocations: 4 kB / 0.5766 GB, free: 1.879 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.4437, allocations: 4 kB / 0.5766 GB, free: 1.875 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002347/0.444, allocations: 70.12 kB / 0.5767 GB, free: 1.801 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00171/0.4457, allocations: 411.6 kB / 0.5771 GB, free: 1.398 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004966/0.4507, allocations: 5.655 MB / 0.5826 GB, free: 11.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004271/0.4511, allocations: 36.06 kB / 0.5826 GB, free: 11.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.702e-05/0.4512, allocations: 16 kB / 0.5826 GB, free: 11.23 MB / 426.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 () * 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 (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.0001647/0.4514, allocations: 120.8 kB / 0.5828 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.895e-05/0.4515, allocations: 47.42 kB / 0.5828 GB, free: 11.06 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009764/0.4524, allocations: 0.6214 MB / 0.5834 GB, free: 10.41 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.4525, allocations: 4 kB / 0.5834 GB, free: 10.41 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.4525, allocations: 0 / 0.5834 GB, free: 10.41 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/0.4525, allocations: 7.984 kB / 0.5834 GB, free: 10.4 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00202/0.4545, allocations: 1.319 MB / 0.5847 GB, free: 9.004 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.4545, allocations: 4 kB / 0.5847 GB, free: 9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001807/0.4563, allocations: 443.6 kB / 0.5851 GB, free: 8.566 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001901/0.4565, allocations: 65.58 kB / 0.5852 GB, free: 8.496 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.532e-05/0.4566, allocations: 3.984 kB / 0.5852 GB, free: 8.492 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00195/0.4585, allocations: 2.706 MB / 0.5879 GB, free: 5.551 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.4586, allocations: 8.016 kB / 0.5879 GB, free: 5.543 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001275/0.4598, allocations: 1.017 MB / 0.5889 GB, free: 4.453 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.46, allocations: 124.5 kB / 0.589 GB, free: 4.312 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.097e-05/0.4601, allocations: 4 kB / 0.589 GB, free: 4.309 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003429/0.4604, allocations: 35.97 kB / 0.589 GB, free: 4.273 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.206e-05/0.4605, allocations: 35.61 kB / 0.589 GB, free: 4.238 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.969e-05/0.4606, allocations: 11.98 kB / 0.5891 GB, free: 4.227 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0002442/0.4608, allocations: 243.2 kB / 0.5893 GB, free: 3.988 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006286/0.4615, allocations: 128 kB / 0.5894 GB, free: 3.863 MB / 426.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 () * 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 (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.0001858/0.4616, allocations: 128.6 kB / 0.5895 GB, free: 3.73 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002553/0.4642, allocations: 1.081 MB / 0.5906 GB, free: 2.629 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4642, allocations: 0 / 0.5906 GB, free: 2.629 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00237/0.4666, allocations: 0.9366 MB / 0.5915 GB, free: 1.672 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005618/0.4672, allocations: 102.8 kB / 0.5916 GB, free: 1.574 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001931/0.4691, allocations: 1.064 MB / 0.5926 GB, free: 488 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007136/0.4698, allocations: 0.994 MB / 0.5936 GB, free: 15.45 MB / 442.7 MB Notification: Performance of SimCode: time 3.31e-07/0.4698, allocations: 0 / 0.5936 GB, free: 15.45 MB / 442.7 MB Notification: Performance of Templates: time 0.01211/0.482, allocations: 6.547 MB / 0.6 GB, free: 8.91 MB / 442.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/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