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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001329/0.001329, allocations: 178 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.518/1.518, allocations: 205.3 MB / 214.4 MB, free: 1.73 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.0009663/0.0009663, allocations: 86.38 kB / 262.4 MB, free: 1.676 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.555e-05/1.556e-05, allocations: 4 kB / 315.5 MB, free: 22.7 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07167/0.0717, allocations: 47.58 MB / 363.1 MB, free: 7.062 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2979/0.3696, allocations: 108.3 MB / 471.4 MB, free: 3.801 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/0.3699, allocations: 91.25 kB / 471.5 MB, free: 3.754 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.13/0.4999, allocations: 49.29 MB / 0.5086 GB, free: 7.676 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4999, allocations: 0 / 0.5086 GB, free: 7.676 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001495/0.5001, allocations: 59.94 kB / 0.5086 GB, free: 7.617 MB / 394.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.004163/0.5043, allocations: 2.353 MB / 0.5109 GB, free: 5.207 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.5043, allocations: 12.03 kB / 0.5109 GB, free: 5.195 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007527/0.5051, allocations: 316.5 kB / 0.5112 GB, free: 4.883 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002927/0.508, allocations: 1.687 MB / 0.5129 GB, free: 3.137 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.429e-05/0.5081, allocations: 76 kB / 0.513 GB, free: 3.062 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002681/0.5084, allocations: 131.9 kB / 0.5131 GB, free: 2.934 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00329/0.5117, allocations: 2.091 MB / 0.5151 GB, free: 0.8359 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003866/0.5155, allocations: 2.5 MB / 0.5176 GB, free: 14.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.986e-05/0.5156, allocations: 3.906 kB / 0.5176 GB, free: 14.19 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001667/0.5158, allocations: 7.984 kB / 0.5176 GB, free: 14.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001203/0.5159, allocations: 104.3 kB / 0.5177 GB, free: 14.08 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01235/0.5283, allocations: 8.707 MB / 0.5262 GB, free: 5.113 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001946/0.5302, allocations: 1.665 MB / 0.5278 GB, free: 3.324 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001073/0.5313, allocations: 0.7772 MB / 0.5286 GB, free: 2.547 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003217/0.5317, allocations: 219.5 kB / 0.5288 GB, free: 2.297 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.5317, allocations: 43.88 kB / 0.5288 GB, free: 2.242 MB / 410.7 MB Notification: Performance of pre-optimization done (n=110): time 2.645e-06/0.5317, allocations: 4 kB / 0.5288 GB, free: 2.238 MB / 410.7 MB Notification: Performance of matching and sorting (n=133): time 0.1774/0.7091, allocations: 4.914 MB / 0.5336 GB, free: 102.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.7092, allocations: 70.73 kB / 0.5337 GB, free: 102.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001823/0.711, allocations: 1.109 MB / 0.5348 GB, free: 102.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.748e-05/0.7111, allocations: 26.77 kB / 0.5348 GB, free: 102.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006679/0.7118, allocations: 1.106 MB / 0.5359 GB, free: 102.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003231/0.7121, allocations: 447 kB / 0.5363 GB, free: 101.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.315e-05/0.7122, allocations: 0 / 0.5363 GB, free: 101.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.773e-05/0.7123, allocations: 370.1 kB / 0.5366 GB, free: 101.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008971/0.7132, allocations: 0.6934 MB / 0.5373 GB, free: 101.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00107/0.7143, allocations: 1.101 MB / 0.5384 GB, free: 101.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001164/0.7155, allocations: 0.8849 MB / 0.5393 GB, free: 101.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.796e-06/0.7155, allocations: 3.875 kB / 0.5393 GB, free: 101.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=201) (initialization): time 0.003869/0.7194, allocations: 2.438 MB / 0.5416 GB, free: 101 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.7194, allocations: 10.25 kB / 0.5417 GB, free: 101 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.963e-05/0.7194, allocations: 13.22 kB / 0.5417 GB, free: 101 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001376/0.7208, allocations: 0.5824 MB / 0.5422 GB, free: 100.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001397/0.7222, allocations: 363.4 kB / 0.5426 GB, free: 100.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006643/0.7289, allocations: 6.402 MB / 0.5488 GB, free: 98.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/0.7302, allocations: 88.72 kB / 0.5489 GB, free: 98.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001259/0.7304, allocations: 64.19 kB / 0.549 GB, free: 98.39 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.0002441/0.7306, allocations: 145.2 kB / 0.5491 GB, free: 98.28 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000252/0.7309, allocations: 162.9 kB / 0.5493 GB, free: 98.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003305/0.7342, allocations: 2.224 MB / 0.5514 GB, free: 98.06 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/0.7342, allocations: 13.34 kB / 0.5515 GB, free: 98.06 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.7342, allocations: 3.219 kB / 0.5515 GB, free: 98.06 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.223e-05/0.7343, allocations: 8.75 kB / 0.5515 GB, free: 98.06 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005975/0.7402, allocations: 4.526 MB / 0.5559 GB, free: 97.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.7403, allocations: 6.344 kB / 0.5559 GB, free: 97.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008446/0.7411, allocations: 229.4 kB / 0.5561 GB, free: 97.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001376/0.7425, allocations: 0.6296 MB / 0.5567 GB, free: 97.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.901e-05/0.7426, allocations: 21.12 kB / 0.5568 GB, free: 97.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00668/0.7493, allocations: 8.069 MB / 0.5646 GB, free: 92.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.7493, allocations: 5.281 kB / 0.5646 GB, free: 92.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003902/0.7532, allocations: 3.44 MB / 0.568 GB, free: 90.87 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006633/0.7539, allocations: 400.4 kB / 0.5684 GB, free: 90.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000203/0.7541, allocations: 22.12 kB / 0.5684 GB, free: 90.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008425/0.755, allocations: 73.94 kB / 0.5685 GB, free: 90.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001899/0.7552, allocations: 111.1 kB / 0.5686 GB, free: 90.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.582e-05/0.7552, allocations: 41.5 kB / 0.5686 GB, free: 90.58 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009447/0.7562, allocations: 0.8291 MB / 0.5694 GB, free: 90.22 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.7562, allocations: 0 / 0.5694 GB, free: 90.22 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001585/0.7578, allocations: 487.3 kB / 0.5699 GB, free: 90.21 MB / 410.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.0004462/0.7582, allocations: 327.8 kB / 0.5702 GB, free: 90.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002709/0.761, allocations: 2.232 MB / 0.5724 GB, free: 89.15 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.761, allocations: 0 / 0.5724 GB, free: 89.15 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001854/0.7628, allocations: 1.454 MB / 0.5738 GB, free: 88.46 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001699/0.7646, allocations: 351.5 kB / 0.5741 GB, free: 88.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00519/0.7698, allocations: 3.797 MB / 0.5778 GB, free: 86.77 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001187/0.771, allocations: 1.93 MB / 0.5797 GB, free: 85.84 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001067/0.772, allocations: 370 kB / 0.5801 GB, free: 85.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002928/0.7723, allocations: 113.9 kB / 0.5802 GB, free: 85.79 MB / 410.7 MB Notification: Performance of SimCode: time 7.71e-07/0.7723, allocations: 0 / 0.5802 GB, free: 85.79 MB / 410.7 MB Notification: Performance of Templates: time 0.03331/0.8057, allocations: 23.74 MB / 0.6034 GB, free: 79.05 MB / 410.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