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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 113.3 kB / 17.28 MB, free: 6.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001812/0.001812, allocations: 189.3 kB / 18.19 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.943/1.943, allocations: 205.1 MB / 224.1 MB, free: 12.47 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 47.92 kB / 280.2 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1241, allocations: 46.62 MB / 326.8 MB, free: 4.797 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter): time 0.01335/0.1375, allocations: 10.2 MB / 337 MB, free: 10.55 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008167/0.1458, allocations: 3.428 MB / 340.4 MB, free: 7.102 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00367/0.1495, allocations: 47.75 kB / 340.5 MB, free: 7.055 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003414/0.153, allocations: 0.6837 MB / 341.1 MB, free: 6.367 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00471/0.1578, allocations: 0.7458 MB / 341.9 MB, free: 5.617 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001672/0.1595, allocations: 379.6 kB / 342.3 MB, free: 5.246 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004633/0.1641, allocations: 2.747 MB / 345 MB, free: 2.488 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002891/0.167, allocations: 2.366 MB / 347.4 MB, free: 64 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002303/0.1694, allocations: 1.258 MB / 348.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002131/0.1715, allocations: 1.604 MB / 350.2 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003974/0.1719, allocations: 336 kB / 350.6 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007734/0.1727, allocations: 439.7 kB / 351 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008721/0.1736, allocations: 0.9389 MB / 351.9 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001754/0.1754, allocations: 1.513 MB / 353.4 MB, free: 9.973 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00443/0.1798, allocations: 4.326 MB / 357.8 MB, free: 5.633 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1798, allocations: 0 / 357.8 MB, free: 5.633 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1798, allocations: 3.938 kB / 357.8 MB, free: 5.629 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.723e-05/0.1799, allocations: 0 / 357.8 MB, free: 5.629 MB / 302.1 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.006533/0.1865, allocations: 3.053 MB / 360.8 MB, free: 2.512 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.558e-05/0.1865, allocations: 12.03 kB / 360.8 MB, free: 2.5 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009035/0.1875, allocations: 309.4 kB / 361.1 MB, free: 2.195 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002667/0.1901, allocations: 1.516 MB / 362.7 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001686/0.1903, allocations: 172.5 kB / 362.8 MB, free: 460 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003273/0.1907, allocations: 223.9 kB / 363 MB, free: 236 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00543/0.1961, allocations: 2.913 MB / 366 MB, free: 13.23 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.22e-05/0.1962, allocations: 11.91 kB / 366 MB, free: 13.22 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002281/0.1964, allocations: 88 kB / 366.1 MB, free: 13.13 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001399/0.1966, allocations: 108.3 kB / 366.2 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004367/0.201, allocations: 2.43 MB / 368.6 MB, free: 10.58 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01876/0.2198, allocations: 9.121 MB / 377.7 MB, free: 1.172 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2125/0.4323, allocations: 1.708 MB / 379.4 MB, free: 50.53 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001962/0.4343, allocations: 0.9901 MB / 380.4 MB, free: 50.52 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002684/0.4346, allocations: 204.2 kB / 380.6 MB, free: 50.33 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.4347, allocations: 46.55 kB / 380.7 MB, free: 50.29 MB / 318.1 MB Notification: Performance of pre-optimization done (n=105): time 3.056e-06/0.4347, allocations: 0 / 380.7 MB, free: 50.29 MB / 318.1 MB Notification: Performance of matching and sorting (n=122): time 0.01503/0.4497, allocations: 6.525 MB / 387.2 MB, free: 48.08 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.4498, allocations: 65.11 kB / 387.2 MB, free: 48.02 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002887/0.4527, allocations: 1.563 MB / 388.8 MB, free: 47.41 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002088/0.4529, allocations: 50.23 kB / 388.9 MB, free: 47.37 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009084/0.4538, allocations: 1.106 MB / 390 MB, free: 46.51 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004424/0.4543, allocations: 429.6 kB / 390.4 MB, free: 46.19 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005307/0.4548, allocations: 274.1 kB / 390.6 MB, free: 46.05 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.506e-05/0.4549, allocations: 301.1 kB / 390.9 MB, free: 45.76 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001372/0.4563, allocations: 0.7109 MB / 391.7 MB, free: 45.51 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00126/0.4576, allocations: 1.137 MB / 392.8 MB, free: 44.73 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002389/0.46, allocations: 1.966 MB / 394.8 MB, free: 43.56 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.409e-05/0.46, allocations: 4.938 kB / 394.8 MB, free: 43.56 MB / 318.1 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.004121/0.4641, allocations: 2.523 MB / 397.3 MB, free: 42.5 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.995e-05/0.4642, allocations: 7.906 kB / 397.3 MB, free: 42.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.32e-05/0.4642, allocations: 19.94 kB / 397.3 MB, free: 42.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008696/0.4651, allocations: 419.5 kB / 397.7 MB, free: 42.37 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/0.4663, allocations: 350.9 kB / 398.1 MB, free: 42.33 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005227/0.4715, allocations: 7.146 MB / 405.2 MB, free: 36.36 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001531/0.4731, allocations: 109.4 kB / 405.3 MB, free: 36.3 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002139/0.4733, allocations: 62.39 kB / 405.4 MB, free: 36.29 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,12,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001315/0.4746, allocations: 0.7152 MB / 406.1 MB, free: 35.8 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004711/0.4751, allocations: 170.3 kB / 406.3 MB, free: 35.71 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003328/0.4784, allocations: 2.178 MB / 408.4 MB, free: 33.51 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/0.4785, allocations: 15.94 kB / 408.5 MB, free: 33.5 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/0.4785, allocations: 4 kB / 408.5 MB, free: 33.49 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.392e-05/0.4785, allocations: 11.97 kB / 408.5 MB, free: 33.48 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008797/0.4873, allocations: 4.787 MB / 413.3 MB, free: 28.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.602e-05/0.4874, allocations: 4 kB / 413.3 MB, free: 28.57 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008783/0.4883, allocations: 223.7 kB / 413.5 MB, free: 28.35 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001016/0.4893, allocations: 457.3 kB / 413.9 MB, free: 27.89 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001103/0.4894, allocations: 35.98 kB / 414 MB, free: 27.86 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00601/0.4955, allocations: 8.672 MB / 422.6 MB, free: 18.66 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/0.4955, allocations: 12.27 kB / 422.6 MB, free: 18.64 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004302/0.4998, allocations: 3.216 MB / 425.9 MB, free: 15.33 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008684/0.5007, allocations: 398.8 kB / 426.2 MB, free: 14.92 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004151/0.5011, allocations: 39.98 kB / 426.3 MB, free: 14.88 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/0.5022, allocations: 87.89 kB / 426.4 MB, free: 14.79 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000235/0.5025, allocations: 100.8 kB / 426.5 MB, free: 14.7 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.918e-05/0.5025, allocations: 41.19 kB / 426.5 MB, free: 14.66 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001487/0.504, allocations: 1.063 MB / 427.6 MB, free: 13.6 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5041, allocations: 4 kB / 427.6 MB, free: 13.59 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002017/0.5061, allocations: 494.6 kB / 428.1 MB, free: 13.11 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (108): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,12,100.0%), (1,6,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003925/0.5065, allocations: 188 kB / 428.2 MB, free: 12.92 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004338/0.5108, allocations: 2.791 MB / 431 MB, free: 10.09 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 8.587e-06/0.5109, allocations: 2.734 kB / 431 MB, free: 10.09 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002131/0.513, allocations: 1.473 MB / 432.5 MB, free: 8.566 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002626/0.5157, allocations: 481.6 kB / 433 MB, free: 8.102 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00773/0.5234, allocations: 5.722 MB / 438.7 MB, free: 2.32 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001712/0.5252, allocations: 1.867 MB / 440.6 MB, free: 428 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001331/0.5265, allocations: 390.8 kB / 441 MB, free: 32 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004939/0.527, allocations: 127.4 kB / 441.1 MB, free: 15.91 MB / 334.1 MB Notification: Performance of SimCode: time 8.42e-07/0.527, allocations: 4 kB / 441.1 MB, free: 15.9 MB / 334.1 MB Notification: Performance of Templates: time 0.04899/0.576, allocations: 26.3 MB / 467.4 MB, free: 5.582 MB / 350.1 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