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.001313/0.001312, allocations: 180 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.692/1.692, allocations: 205.4 MB / 223.1 MB, free: 9.121 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.000928/0.0009279, allocations: 94.55 kB / 271.5 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002388/0.0002388, allocations: 4 kB / 328.3 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.2607, allocations: 47.57 MB / 375.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1768/0.4376, allocations: 108.8 MB / 484.7 MB, free: 3.785 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003693/0.438, allocations: 91.94 kB / 484.7 MB, free: 3.695 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3449/0.7829, allocations: 49.9 MB / 0.5221 GB, free: 94.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.978e-06/0.7829, allocations: 0 / 0.5221 GB, free: 94.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002731/0.7832, allocations: 62.84 kB / 0.5222 GB, free: 94.43 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.007828/0.7911, allocations: 2.623 MB / 0.5247 GB, free: 92.26 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.7911, allocations: 12.03 kB / 0.5247 GB, free: 92.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001653/0.7928, allocations: 320.5 kB / 0.525 GB, free: 91.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004162/0.797, allocations: 1.704 MB / 0.5267 GB, free: 90.2 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001218/0.7971, allocations: 168.3 kB / 0.5269 GB, free: 90.04 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006411/0.7978, allocations: 223.9 kB / 0.5271 GB, free: 89.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005106/0.8029, allocations: 2.895 MB / 0.5299 GB, free: 86.78 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.764e-05/0.803, allocations: 4 kB / 0.5299 GB, free: 86.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002435/0.8032, allocations: 99.89 kB / 0.53 GB, free: 86.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.627e-05/0.8033, allocations: 100.4 kB / 0.5301 GB, free: 86.58 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003598/0.8069, allocations: 2.328 MB / 0.5324 GB, free: 84.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01123/0.8181, allocations: 9.136 MB / 0.5413 GB, free: 74.89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001882/0.8201, allocations: 1.775 MB / 0.543 GB, free: 73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002619/0.8203, allocations: 219 kB / 0.5432 GB, free: 72.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.8204, allocations: 47.55 kB / 0.5433 GB, free: 72.7 MB / 378.7 MB Notification: Performance of pre-optimization done (n=108): time 3.246e-06/0.8204, allocations: 0 / 0.5433 GB, free: 72.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=131): time 0.01453/0.8349, allocations: 7.624 MB / 0.5507 GB, free: 64.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.835, allocations: 68.66 kB / 0.5508 GB, free: 64.88 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00244/0.8375, allocations: 1.35 MB / 0.5521 GB, free: 63.53 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001856/0.8377, allocations: 49.7 kB / 0.5522 GB, free: 63.47 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006575/0.8383, allocations: 1.1 MB / 0.5532 GB, free: 62.36 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004023/0.8387, allocations: 461.2 kB / 0.5537 GB, free: 61.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.8389, allocations: 31.94 kB / 0.5537 GB, free: 61.88 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.839, allocations: 373.9 kB / 0.5541 GB, free: 61.51 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001125/0.8401, allocations: 0.773 MB / 0.5548 GB, free: 60.74 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001306/0.8414, allocations: 1.191 MB / 0.556 GB, free: 59.37 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001466/0.8429, allocations: 0.9589 MB / 0.5569 GB, free: 58.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.604e-05/0.8429, allocations: 4 kB / 0.5569 GB, free: 58.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.005056/0.848, allocations: 2.715 MB / 0.5596 GB, free: 55.68 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.686e-05/0.8481, allocations: 8.281 kB / 0.5596 GB, free: 55.67 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.501e-05/0.8481, allocations: 16 kB / 0.5596 GB, free: 55.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001531/0.8497, allocations: 0.5923 MB / 0.5602 GB, free: 55.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001388/0.8511, allocations: 359.5 kB / 0.5605 GB, free: 54.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007118/0.8582, allocations: 6.928 MB / 0.5673 GB, free: 47.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001774/0.86, allocations: 123.8 kB / 0.5674 GB, free: 47.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002365/0.8603, allocations: 71.98 kB / 0.5675 GB, free: 47.32 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * 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.001377/0.8617, allocations: 0.7173 MB / 0.5682 GB, free: 46.59 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004688/0.8621, allocations: 173.9 kB / 0.5683 GB, free: 46.42 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003972/0.8661, allocations: 2.454 MB / 0.5707 GB, free: 43.94 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/0.8661, allocations: 15.98 kB / 0.5708 GB, free: 43.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.259e-05/0.8662, allocations: 8 kB / 0.5708 GB, free: 43.92 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.8662, allocations: 3.984 kB / 0.5708 GB, free: 43.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008045/0.8742, allocations: 5.001 MB / 0.5756 GB, free: 38.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.827e-06/0.8743, allocations: 8.031 kB / 0.5757 GB, free: 38.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008921/0.8752, allocations: 215.7 kB / 0.5759 GB, free: 38.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001541/0.8767, allocations: 0.6386 MB / 0.5765 GB, free: 37.97 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001096/0.8769, allocations: 47.91 kB / 0.5765 GB, free: 37.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008075/0.8849, allocations: 8.648 MB / 0.585 GB, free: 28.87 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.885, allocations: 0 / 0.585 GB, free: 28.87 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005349/0.8903, allocations: 3.668 MB / 0.5886 GB, free: 25.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001064/0.8914, allocations: 414.8 kB / 0.589 GB, free: 24.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004611/0.8919, allocations: 31.98 kB / 0.589 GB, free: 24.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001167/0.8931, allocations: 99.89 kB / 0.5891 GB, free: 24.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002622/0.8934, allocations: 109.1 kB / 0.5892 GB, free: 24.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.274e-05/0.8935, allocations: 39.98 kB / 0.5892 GB, free: 24.39 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00188/0.8954, allocations: 1.035 MB / 0.5902 GB, free: 23.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.8954, allocations: 0 / 0.5902 GB, free: 23.36 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002351/0.8977, allocations: 0.5508 MB / 0.5908 GB, free: 22.81 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (102): * Single equations (assignments): 99 * 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.000677/0.8984, allocations: 363.6 kB / 0.5911 GB, free: 22.48 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003941/0.9024, allocations: 2.448 MB / 0.5935 GB, free: 19.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.79e-06/0.9024, allocations: 0 / 0.5935 GB, free: 19.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002491/0.9049, allocations: 1.57 MB / 0.595 GB, free: 18.38 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002417/0.9073, allocations: 430.2 kB / 0.5954 GB, free: 17.96 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008352/0.9157, allocations: 5.647 MB / 0.601 GB, free: 12.26 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001737/0.9175, allocations: 1.935 MB / 0.6029 GB, free: 10.29 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001495/0.919, allocations: 379 kB / 0.6032 GB, free: 9.914 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000429/0.9194, allocations: 127.4 kB / 0.6033 GB, free: 9.789 MB / 378.7 MB Notification: Performance of SimCode: time 1.392e-06/0.9194, allocations: 0 / 0.6033 GB, free: 9.789 MB / 378.7 MB Notification: Performance of Templates: time 0.05309/0.9725, allocations: 29.34 MB / 0.632 GB, free: 12.43 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