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.001051/0.001051, allocations: 113.3 kB / 18.4 MB, free: 4.699 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.001009/0.001009, allocations: 189.3 kB / 19.33 MB, free: 3.781 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.222/1.222, allocations: 205.1 MB / 225.2 MB, free: 12.24 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.001117/0.001117, allocations: 47.94 kB / 329.2 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07828/0.07941, allocations: 46.63 MB / 375.8 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter): time 0.1624/0.2419, allocations: 10.26 MB / 386.1 MB, free: 7.691 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005489/0.2474, allocations: 3.484 MB / 389.6 MB, free: 5.633 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001333/0.2488, allocations: 51.22 kB / 389.6 MB, free: 5.617 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001704/0.2505, allocations: 0.7631 MB / 390.4 MB, free: 5.211 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002155/0.2527, allocations: 0.8343 MB / 391.2 MB, free: 4.676 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008717/0.2536, allocations: 419.4 kB / 391.6 MB, free: 4.422 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002794/0.2564, allocations: 2.758 MB / 394.4 MB, free: 3.031 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002314/0.2587, allocations: 2.366 MB / 396.8 MB, free: 2.035 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001715/0.2604, allocations: 1.268 MB / 398 MB, free: 1.414 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002022/0.2625, allocations: 1.572 MB / 399.6 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004511/0.2629, allocations: 334.2 kB / 399.9 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008326/0.2638, allocations: 437.3 kB / 400.4 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007666/0.2645, allocations: 0.9454 MB / 401.3 MB, free: 132 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001576/0.2661, allocations: 1.507 MB / 402.8 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004584/0.2707, allocations: 4.377 MB / 407.2 MB, free: 12.54 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2707, allocations: 0 / 407.2 MB, free: 12.54 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2708, allocations: 1.031 kB / 407.2 MB, free: 12.54 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.202e-05/0.2709, allocations: 0 / 407.2 MB, free: 12.54 MB / 334.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.006292/0.2772, allocations: 3.066 MB / 410.2 MB, free: 10.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.2772, allocations: 9.156 kB / 410.3 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008378/0.278, allocations: 311.3 kB / 410.6 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002386/0.2804, allocations: 1.534 MB / 412.1 MB, free: 9.137 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001243/0.2806, allocations: 170 kB / 412.3 MB, free: 9.055 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003165/0.2809, allocations: 223.9 kB / 412.5 MB, free: 8.977 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00448/0.2854, allocations: 2.912 MB / 415.4 MB, free: 7.238 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.781e-05/0.2855, allocations: 3.906 kB / 415.4 MB, free: 7.238 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002115/0.2857, allocations: 88.09 kB / 415.5 MB, free: 7.172 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001194/0.2858, allocations: 118.2 kB / 415.6 MB, free: 7.145 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003869/0.2897, allocations: 2.432 MB / 418 MB, free: 5.188 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01249/0.3022, allocations: 9.012 MB / 427 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002085/0.3043, allocations: 1.694 MB / 428.7 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001611/0.3059, allocations: 0.976 MB / 429.7 MB, free: 9.102 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002616/0.3062, allocations: 215.2 kB / 429.9 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.3063, allocations: 39.56 kB / 430 MB, free: 8.805 MB / 350.1 MB Notification: Performance of pre-optimization done (n=105): time 2.985e-06/0.3063, allocations: 384 / 430 MB, free: 8.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=122): time 0.01322/0.3195, allocations: 6.536 MB / 436.5 MB, free: 2.105 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.3196, allocations: 64.41 kB / 436.6 MB, free: 2.031 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002004/0.3216, allocations: 1.569 MB / 438.1 MB, free: 464 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.53e-05/0.3217, allocations: 46.27 kB / 438.2 MB, free: 412 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006564/0.3223, allocations: 1.104 MB / 439.3 MB, free: 15.28 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002871/0.3226, allocations: 433.8 kB / 439.7 MB, free: 14.85 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000379/0.323, allocations: 271.4 kB / 440 MB, free: 14.58 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.762e-05/0.3231, allocations: 301.1 kB / 440.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001043/0.3242, allocations: 0.7105 MB / 441 MB, free: 13.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001268/0.3254, allocations: 1.14 MB / 442.1 MB, free: 12.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002429/0.3279, allocations: 1.96 MB / 444.1 MB, free: 10.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.057e-06/0.3279, allocations: 8 kB / 444.1 MB, free: 10.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.003871/0.3318, allocations: 2.522 MB / 446.6 MB, free: 7.535 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/0.3318, allocations: 23.16 kB / 446.6 MB, free: 7.516 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/0.3318, allocations: 12 kB / 446.6 MB, free: 7.504 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000903/0.3327, allocations: 423.3 kB / 447 MB, free: 7.078 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/0.3339, allocations: 347.5 kB / 447.4 MB, free: 6.738 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006133/0.3401, allocations: 7.121 MB / 454.5 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001424/0.3415, allocations: 107.8 kB / 454.6 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/0.3417, allocations: 64 kB / 454.7 MB, free: 15.03 MB / 382.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.001166/0.3428, allocations: 0.7244 MB / 455.4 MB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002821/0.3431, allocations: 165.9 kB / 455.6 MB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003428/0.3466, allocations: 2.186 MB / 457.7 MB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.3466, allocations: 12 kB / 457.8 MB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/0.3466, allocations: 4 kB / 457.8 MB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/0.3466, allocations: 7.922 kB / 457.8 MB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006995/0.3536, allocations: 4.776 MB / 462.5 MB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.866e-06/0.3536, allocations: 4 kB / 462.6 MB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008939/0.3546, allocations: 223.7 kB / 462.8 MB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001052/0.3556, allocations: 460.2 kB / 463.2 MB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.318e-05/0.3557, allocations: 43.92 kB / 463.3 MB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007179/0.3629, allocations: 8.661 MB / 471.9 MB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/0.3629, allocations: 8 kB / 471.9 MB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004752/0.3677, allocations: 3.218 MB / 475.1 MB, free: 9.672 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008612/0.3686, allocations: 402.8 kB / 475.5 MB, free: 9.258 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003934/0.369, allocations: 35.98 kB / 475.6 MB, free: 9.223 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/0.37, allocations: 87.84 kB / 475.7 MB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002088/0.3702, allocations: 100.8 kB / 475.8 MB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.602e-05/0.3703, allocations: 39.98 kB / 475.8 MB, free: 8.996 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001447/0.3718, allocations: 1.07 MB / 476.9 MB, free: 7.93 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3718, allocations: 0 / 476.9 MB, free: 7.93 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001685/0.3735, allocations: 484 kB / 477.3 MB, free: 7.457 MB / 398.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.0003637/0.3738, allocations: 198.9 kB / 477.5 MB, free: 7.254 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003403/0.3772, allocations: 2.293 MB / 479.8 MB, free: 4.902 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.712e-06/0.3773, allocations: 4 kB / 479.8 MB, free: 4.898 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002123/0.3794, allocations: 1.474 MB / 481.3 MB, free: 3.375 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002153/0.3816, allocations: 493.8 kB / 481.8 MB, free: 2.895 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006766/0.3883, allocations: 4.737 MB / 486.5 MB, free: 14.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001341/0.3897, allocations: 1.839 MB / 488.4 MB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004848/0.3902, allocations: 131.4 kB / 488.5 MB, free: 12.07 MB / 414.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3902, allocations: 0 / 488.5 MB, free: 12.07 MB / 414.1 MB Notification: Performance of Templates: time 0.06647/0.4567, allocations: 73.82 MB / 0.5491 GB, free: 2.086 MB / 478.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/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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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