Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.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) 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(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter") [: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.00103/0.00103, allocations: 173.8 kB / 8.475 MB, free: 1.871 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.085/1.085, allocations: 205.2 MB / 214.1 MB, free: 5.215 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00082/0.0008197, allocations: 94.23 kB / 262.1 MB, free: 5.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.045e-06/8.145e-06, allocations: 4 kB / 315 MB, free: 41.47 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07644/0.07646, allocations: 47.58 MB / 362.6 MB, free: 9.941 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.22/0.2965, allocations: 108 MB / 470.6 MB, free: 1.055 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002197/0.2968, allocations: 87.06 kB / 470.6 MB, free: 1.012 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.131/0.4278, allocations: 49.08 MB / 0.5075 GB, free: 7.289 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001385/0.428, allocations: 63.88 kB / 0.5076 GB, free: 7.227 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.004234/0.4323, allocations: 2.345 MB / 0.5099 GB, free: 4.824 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.4323, allocations: 15.91 kB / 0.5099 GB, free: 4.809 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008449/0.4331, allocations: 324.5 kB / 0.5102 GB, free: 4.488 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003056/0.4362, allocations: 1.699 MB / 0.5119 GB, free: 2.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.083e-05/0.4363, allocations: 72 kB / 0.5119 GB, free: 2.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002998/0.4366, allocations: 139.9 kB / 0.5121 GB, free: 2.523 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003385/0.44, allocations: 2.114 MB / 0.5141 GB, free: 412 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003811/0.4438, allocations: 2.535 MB / 0.5166 GB, free: 13.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.758e-05/0.4439, allocations: 11.89 kB / 0.5166 GB, free: 13.71 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001831/0.4441, allocations: 4 kB / 0.5166 GB, free: 13.71 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.51e-05/0.4442, allocations: 104.3 kB / 0.5167 GB, free: 13.61 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01294/0.4571, allocations: 8.757 MB / 0.5253 GB, free: 4.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001382/0.4586, allocations: 0.8532 MB / 0.5261 GB, free: 3.723 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001221/0.4598, allocations: 0.8618 MB / 0.527 GB, free: 2.863 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003343/0.4602, allocations: 207.2 kB / 0.5272 GB, free: 2.625 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.4602, allocations: 51.55 kB / 0.5272 GB, free: 2.566 MB / 378.7 MB Notification: Performance of pre-optimization done (n=110): time 3.136e-06/0.4602, allocations: 0 / 0.5272 GB, free: 2.566 MB / 378.7 MB Notification: Performance of matching and sorting (n=133): time 0.009319/0.4695, allocations: 4.964 MB / 0.5321 GB, free: 13.55 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.4696, allocations: 64.72 kB / 0.5321 GB, free: 13.47 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001574/0.4712, allocations: 1.125 MB / 0.5332 GB, free: 12.34 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.113e-05/0.4713, allocations: 25.7 kB / 0.5332 GB, free: 12.3 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005049/0.4718, allocations: 0.8764 MB / 0.5341 GB, free: 11.41 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003313/0.4721, allocations: 449.3 kB / 0.5345 GB, free: 10.97 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.715e-05/0.4722, allocations: 0 / 0.5345 GB, free: 10.97 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.4724, allocations: 369.9 kB / 0.5349 GB, free: 10.6 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001046/0.4734, allocations: 0.7185 MB / 0.5356 GB, free: 9.883 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001334/0.4747, allocations: 1.126 MB / 0.5367 GB, free: 8.582 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001316/0.4761, allocations: 0.9158 MB / 0.5376 GB, free: 7.664 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.4761, allocations: 4 kB / 0.5376 GB, free: 7.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=201) (initialization): time 0.004055/0.4801, allocations: 2.479 MB / 0.54 GB, free: 5.164 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.4802, allocations: 4 kB / 0.54 GB, free: 5.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/0.4802, allocations: 12 kB / 0.54 GB, free: 5.148 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001507/0.4817, allocations: 0.5844 MB / 0.5406 GB, free: 4.555 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001396/0.4831, allocations: 359.4 kB / 0.5409 GB, free: 4.203 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007601/0.4907, allocations: 6.087 MB / 0.5469 GB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001142/0.4919, allocations: 75.83 kB / 0.5469 GB, free: 13.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001377/0.492, allocations: 68.11 kB / 0.547 GB, free: 13.73 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (171): * Single equations (assignments): 168 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,72.2%) 23,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002494/0.4923, allocations: 140.5 kB / 0.5471 GB, free: 13.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002748/0.4926, allocations: 162 kB / 0.5473 GB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003971/0.4966, allocations: 2.266 MB / 0.5495 GB, free: 11.13 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/0.4966, allocations: 15.91 kB / 0.5495 GB, free: 11.12 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.4966, allocations: 8 kB / 0.5495 GB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.463e-05/0.4966, allocations: 7.969 kB / 0.5495 GB, free: 11.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007528/0.5042, allocations: 4.529 MB / 0.554 GB, free: 6.473 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.5042, allocations: 4 kB / 0.554 GB, free: 6.469 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001051/0.5052, allocations: 220.1 kB / 0.5542 GB, free: 6.254 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001728/0.507, allocations: 0.6395 MB / 0.5548 GB, free: 5.605 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.174e-05/0.5071, allocations: 11.98 kB / 0.5548 GB, free: 5.594 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008866/0.516, allocations: 7.701 MB / 0.5623 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.516, allocations: 7.906 kB / 0.5623 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005142/0.5211, allocations: 3.52 MB / 0.5658 GB, free: 9.871 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007928/0.5219, allocations: 406.9 kB / 0.5662 GB, free: 9.453 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002588/0.5222, allocations: 15.98 kB / 0.5662 GB, free: 9.438 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009594/0.5232, allocations: 59.94 kB / 0.5662 GB, free: 9.379 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001743/0.5234, allocations: 77.19 kB / 0.5663 GB, free: 9.305 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.988e-05/0.5235, allocations: 43.92 kB / 0.5664 GB, free: 9.262 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.001231/0.5247, allocations: 0.84 MB / 0.5672 GB, free: 8.422 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001578/0.5263, allocations: 481.5 kB / 0.5676 GB, free: 7.953 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 7 (smpm.inertiaRotor.w,smpm.idq_sr[1],smpm.idq_sr[2],smpm.idq_rr[2],smpm.idq_dr[1],vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,72.2%) 23,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005107/0.5268, allocations: 346.8 kB / 0.568 GB, free: 7.605 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003373/0.5302, allocations: 2.215 MB / 0.5701 GB, free: 5.348 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.5302, allocations: 0 / 0.5701 GB, free: 5.348 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002286/0.5325, allocations: 1.377 MB / 0.5715 GB, free: 3.941 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001527/0.534, allocations: 340.9 kB / 0.5718 GB, free: 3.605 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1039/0.638, allocations: 3.873 MB / 0.5756 GB, free: 159.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001643/0.6396, allocations: 2.012 MB / 0.5775 GB, free: 158.6 MB / 426.7 MB Notification: Performance of SimCode: time 5.51e-07/0.6397, allocations: 0 / 0.5775 GB, free: 158.6 MB / 426.7 MB Notification: Performance of Templates: time 0.03202/0.6717, allocations: 24.57 MB / 0.6015 GB, free: 157.7 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMPM_Inverter/SMPM_Inverter.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches