Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002143/0.002143, allocations: 180.5 kB / 17.41 MB, free: 4.402 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.004/3.004, allocations: 205.4 MB / 223.6 MB, free: 9.016 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.001532/0.001532, allocations: 83.38 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005405/0.0005409, allocations: 16 kB / 328.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4546/0.4552, allocations: 47.57 MB / 375.7 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2198/0.6751, allocations: 109.1 MB / 484.8 MB, free: 3.504 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005076/0.6757, allocations: 87.95 kB / 484.9 MB, free: 3.418 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6011/1.277, allocations: 49.85 MB / 0.5222 GB, free: 94.21 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.973e-06/1.277, allocations: 0 / 0.5222 GB, free: 94.21 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000362/1.277, allocations: 67.22 kB / 0.5223 GB, free: 94.2 MB / 378.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.01001/1.287, allocations: 2.595 MB / 0.5248 GB, free: 92.06 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.855e-05/1.287, allocations: 12.03 kB / 0.5248 GB, free: 92.05 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002835/1.29, allocations: 321.4 kB / 0.5251 GB, free: 91.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006589/1.297, allocations: 1.753 MB / 0.5268 GB, free: 89.95 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002823/1.297, allocations: 168.7 kB / 0.527 GB, free: 89.79 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00118/1.298, allocations: 228.3 kB / 0.5272 GB, free: 89.56 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00939/1.308, allocations: 2.907 MB / 0.53 GB, free: 86.51 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001121/1.308, allocations: 8.094 kB / 0.53 GB, free: 86.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003683/1.308, allocations: 99.84 kB / 0.5301 GB, free: 86.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001643/1.309, allocations: 104.3 kB / 0.5302 GB, free: 86.3 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008196/1.317, allocations: 2.336 MB / 0.5325 GB, free: 83.95 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02447/1.341, allocations: 9.139 MB / 0.5414 GB, free: 74.61 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003188/1.345, allocations: 1.767 MB / 0.5432 GB, free: 72.71 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001855/1.347, allocations: 0.8465 MB / 0.544 GB, free: 71.87 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004504/1.347, allocations: 227 kB / 0.5442 GB, free: 71.61 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.104e-05/1.347, allocations: 47.56 kB / 0.5443 GB, free: 71.56 MB / 378.7 MB Notification: Performance of pre-optimization done (n=108): time 6.523e-06/1.347, allocations: 0 / 0.5443 GB, free: 71.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=131): time 0.02382/1.371, allocations: 7.58 MB / 0.5517 GB, free: 63.86 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.414e-05/1.371, allocations: 64.72 kB / 0.5517 GB, free: 63.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003426/1.375, allocations: 1.522 MB / 0.5532 GB, free: 62.26 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002962/1.375, allocations: 49.7 kB / 0.5533 GB, free: 62.2 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009142/1.376, allocations: 1.102 MB / 0.5543 GB, free: 61.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005725/1.376, allocations: 462.9 kB / 0.5548 GB, free: 60.64 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/1.377, allocations: 32 kB / 0.5548 GB, free: 60.61 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001531/1.377, allocations: 377.8 kB / 0.5552 GB, free: 60.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001867/1.379, allocations: 0.7651 MB / 0.5559 GB, free: 59.47 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002034/1.381, allocations: 1.2 MB / 0.5571 GB, free: 58.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004076/1.385, allocations: 2.085 MB / 0.5591 GB, free: 55.83 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.671e-05/1.385, allocations: 4 kB / 0.5591 GB, free: 55.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.007156/1.392, allocations: 2.703 MB / 0.5618 GB, free: 53.1 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.787e-05/1.392, allocations: 12 kB / 0.5618 GB, free: 53.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.175e-05/1.392, allocations: 12 kB / 0.5618 GB, free: 53.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002143/1.394, allocations: 0.6038 MB / 0.5624 GB, free: 52.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002066/1.396, allocations: 359.4 kB / 0.5627 GB, free: 52.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01051/1.407, allocations: 6.705 MB / 0.5693 GB, free: 45.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002536/1.409, allocations: 123.7 kB / 0.5694 GB, free: 45.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002952/1.41, allocations: 64 kB / 0.5694 GB, free: 44.96 MB / 378.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 166 * 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.00212/1.412, allocations: 0.719 MB / 0.5702 GB, free: 44.24 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000616/1.413, allocations: 177.8 kB / 0.5703 GB, free: 44.06 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005763/1.418, allocations: 2.431 MB / 0.5727 GB, free: 41.61 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.81e-05/1.418, allocations: 12 kB / 0.5727 GB, free: 41.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.377e-05/1.418, allocations: 4 kB / 0.5727 GB, free: 41.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.091e-05/1.418, allocations: 11.97 kB / 0.5727 GB, free: 41.58 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01176/1.43, allocations: 4.995 MB / 0.5776 GB, free: 36.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/1.43, allocations: 4 kB / 0.5776 GB, free: 36.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001266/1.432, allocations: 219.7 kB / 0.5778 GB, free: 36.28 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002226/1.434, allocations: 0.6389 MB / 0.5784 GB, free: 35.63 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001856/1.434, allocations: 39.97 kB / 0.5785 GB, free: 35.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01173/1.446, allocations: 8.415 MB / 0.5867 GB, free: 26.78 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.637e-06/1.446, allocations: 7.938 kB / 0.5867 GB, free: 26.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00805/1.454, allocations: 3.515 MB / 0.5901 GB, free: 23.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001591/1.456, allocations: 414.8 kB / 0.5905 GB, free: 22.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000424/1.456, allocations: 31.98 kB / 0.5906 GB, free: 22.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00143/1.457, allocations: 99.89 kB / 0.5907 GB, free: 22.64 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004336/1.458, allocations: 108.7 kB / 0.5908 GB, free: 22.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001371/1.458, allocations: 39.98 kB / 0.5908 GB, free: 22.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00229/1.46, allocations: 1.031 MB / 0.5918 GB, free: 21.47 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-07/1.46, allocations: 0 / 0.5918 GB, free: 21.47 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003151/1.464, allocations: 0.5546 MB / 0.5923 GB, free: 20.91 MB / 378.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 100 * 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.0009515/1.464, allocations: 360.5 kB / 0.5927 GB, free: 20.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00591/1.47, allocations: 2.432 MB / 0.5951 GB, free: 18.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.356e-05/1.47, allocations: 1 kB / 0.5951 GB, free: 18.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003714/1.474, allocations: 1.556 MB / 0.5966 GB, free: 16.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00479/1.479, allocations: 464.8 kB / 0.597 GB, free: 16.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01386/1.493, allocations: 5.724 MB / 0.6026 GB, free: 10.27 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002372/1.495, allocations: 1.863 MB / 0.6044 GB, free: 8.383 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00111/1.497, allocations: 135.4 kB / 0.6046 GB, free: 8.25 MB / 378.7 MB Notification: Performance of SimCode: time 9.52e-07/1.497, allocations: 0 / 0.6046 GB, free: 8.25 MB / 378.7 MB Notification: Performance of Templates: time 0.49/1.987, allocations: 63.83 MB / 0.6669 GB, free: 112.3 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches