Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_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.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001877/0.001876, 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.748/1.748, allocations: 205.4 MB / 223.1 MB, free: 9.117 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.000897/0.0008968, allocations: 97.08 kB / 271.5 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002659/0.0002659, allocations: 4 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2938, allocations: 47.57 MB / 375.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1416/0.4355, allocations: 105.5 MB / 481.3 MB, free: 7.164 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004425/0.436, allocations: 95.88 kB / 481.4 MB, free: 7.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3804/0.8165, allocations: 46.06 MB / 0.5151 GB, free: 96.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.8165, allocations: 0 / 0.5151 GB, free: 96.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001842/0.8167, allocations: 61.16 kB / 0.5151 GB, free: 96.22 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: 553 * Number of variables: 553 Notification: Performance of Generate backend data structure: time 0.005963/0.8227, allocations: 2.503 MB / 0.5176 GB, free: 94.9 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/0.8228, allocations: 10.59 kB / 0.5176 GB, free: 94.9 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001425/0.8242, allocations: 294.1 kB / 0.5179 GB, free: 94.76 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003655/0.8279, allocations: 1.604 MB / 0.5194 GB, free: 93.88 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001241/0.828, allocations: 164.3 kB / 0.5196 GB, free: 93.81 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004305/0.8285, allocations: 211.7 kB / 0.5198 GB, free: 93.74 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004265/0.8327, allocations: 2.78 MB / 0.5225 GB, free: 92.24 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.35e-05/0.8328, allocations: 7.844 kB / 0.5225 GB, free: 92.24 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001945/0.833, allocations: 93.39 kB / 0.5226 GB, free: 92.17 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000105/0.8331, allocations: 101 kB / 0.5227 GB, free: 92.15 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003946/0.8371, allocations: 2.249 MB / 0.5249 GB, free: 90.99 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01256/0.8497, allocations: 8.627 MB / 0.5333 GB, free: 82.47 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002027/0.8517, allocations: 1.752 MB / 0.535 GB, free: 80.6 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002853/0.8521, allocations: 219.6 kB / 0.5352 GB, free: 80.35 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.8521, allocations: 47.55 kB / 0.5353 GB, free: 80.3 MB / 378.7 MB Notification: Performance of pre-optimization done (n=104): time 3.557e-06/0.8521, allocations: 0 / 0.5353 GB, free: 80.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=125): time 0.01409/0.8662, allocations: 7.06 MB / 0.5422 GB, free: 73.14 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/0.8663, allocations: 64.41 kB / 0.5422 GB, free: 73.06 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002113/0.8684, allocations: 1.25 MB / 0.5435 GB, free: 71.8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001223/0.8685, allocations: 49.7 kB / 0.5435 GB, free: 71.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005639/0.8691, allocations: 1.026 MB / 0.5445 GB, free: 70.71 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002976/0.8694, allocations: 437.5 kB / 0.5449 GB, free: 70.29 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.435e-05/0.8695, allocations: 28 kB / 0.545 GB, free: 70.26 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.419e-05/0.8696, allocations: 365.9 kB / 0.5453 GB, free: 69.89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001093/0.8707, allocations: 0.7535 MB / 0.546 GB, free: 69.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001213/0.8719, allocations: 1.134 MB / 0.5472 GB, free: 67.85 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001303/0.8733, allocations: 0.9238 MB / 0.5481 GB, free: 66.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/0.8733, allocations: 0 / 0.5481 GB, free: 66.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.004154/0.8774, allocations: 2.61 MB / 0.5506 GB, free: 64.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.024e-05/0.8775, allocations: 12 kB / 0.5506 GB, free: 64.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.766e-05/0.8775, allocations: 19.89 kB / 0.5506 GB, free: 64.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00137/0.8789, allocations: 0.5767 MB / 0.5512 GB, free: 63.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/0.8802, allocations: 339.5 kB / 0.5515 GB, free: 63.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006404/0.8866, allocations: 6.543 MB / 0.5579 GB, free: 56.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001646/0.8883, allocations: 119.8 kB / 0.558 GB, free: 56.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000247/0.8885, allocations: 56 kB / 0.5581 GB, free: 56.37 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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 (157): * Single equations (assignments): 154 * 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%) 22,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0015/0.89, allocations: 0.6969 MB / 0.5588 GB, free: 55.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006064/0.8907, allocations: 162 kB / 0.5589 GB, free: 55.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004116/0.8948, allocations: 2.39 MB / 0.5612 GB, free: 53.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.366e-05/0.8948, allocations: 12 kB / 0.5613 GB, free: 53.08 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.281e-05/0.8949, allocations: 7.984 kB / 0.5613 GB, free: 53.07 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.342e-05/0.8949, allocations: 3.984 kB / 0.5613 GB, free: 53.07 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009217/0.9041, allocations: 4.782 MB / 0.5659 GB, free: 48.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/0.9042, allocations: 4 kB / 0.5659 GB, free: 48.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009467/0.9051, allocations: 211.9 kB / 0.5661 GB, free: 48.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001646/0.9068, allocations: 0.6348 MB / 0.5668 GB, free: 47.36 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001296/0.9069, allocations: 43.95 kB / 0.5668 GB, free: 47.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007854/0.9148, allocations: 8.299 MB / 0.5749 GB, free: 38.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.9149, allocations: 4 kB / 0.5749 GB, free: 38.62 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00554/0.9204, allocations: 3.529 MB / 0.5784 GB, free: 34.99 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001238/0.9217, allocations: 410.9 kB / 0.5788 GB, free: 34.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004843/0.9222, allocations: 24 kB / 0.5788 GB, free: 34.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001229/0.9235, allocations: 95.89 kB / 0.5789 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003119/0.9238, allocations: 104.8 kB / 0.579 GB, free: 34.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/0.9239, allocations: 39.98 kB / 0.579 GB, free: 34.31 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002029/0.9259, allocations: 0.9576 MB / 0.5799 GB, free: 33.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.926, allocations: 0 / 0.5799 GB, free: 33.36 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00242/0.9284, allocations: 0.5156 MB / 0.5804 GB, free: 32.84 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],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 (97): * Single equations (assignments): 94 * 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,75.0%) 22,(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.0007699/0.9292, allocations: 318.9 kB / 0.5807 GB, free: 32.54 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003998/0.9332, allocations: 2.38 MB / 0.5831 GB, free: 30.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.9332, allocations: 0 / 0.5831 GB, free: 30.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002349/0.9356, allocations: 1.536 MB / 0.5846 GB, free: 28.54 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002326/0.9379, allocations: 376.6 kB / 0.5849 GB, free: 28.17 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008853/0.9468, allocations: 5.386 MB / 0.5902 GB, free: 22.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001949/0.9488, allocations: 1.866 MB / 0.592 GB, free: 20.84 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001458/0.9503, allocations: 358 kB / 0.5924 GB, free: 20.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005018/0.9508, allocations: 119.3 kB / 0.5925 GB, free: 20.37 MB / 378.7 MB Notification: Performance of SimCode: time 1.784e-06/0.9508, allocations: 0 / 0.5925 GB, free: 20.37 MB / 378.7 MB Notification: Performance of Templates: time 0.04937/1, allocations: 26.96 MB / 0.6188 GB, free: 9.402 MB / 394.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_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/SMR_Inverter/SMR_Inverter.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches