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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 108.4 kB / 18.34 MB, free: 4.676 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.001603/0.001603, allocations: 186.9 kB / 19.28 MB, free: 3.75 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.577/1.577, 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.001301/0.001301, allocations: 51.92 kB / 282.1 MB, free: 2.457 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1268, allocations: 46.63 MB / 328.7 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter): time 0.01055/0.1374, allocations: 9.586 MB / 338.3 MB, free: 10.11 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005329/0.1427, allocations: 3.14 MB / 341.5 MB, free: 6.957 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008643/0.1436, allocations: 47.75 kB / 341.5 MB, free: 6.91 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001503/0.1452, allocations: 0.6675 MB / 342.2 MB, free: 6.238 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002046/0.1472, allocations: 0.7648 MB / 342.9 MB, free: 5.469 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007872/0.148, allocations: 395.4 kB / 343.3 MB, free: 5.082 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002515/0.1506, allocations: 2.564 MB / 345.9 MB, free: 2.508 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002313/0.1529, allocations: 2.282 MB / 348.2 MB, free: 168 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001405/0.1543, allocations: 1.184 MB / 349.3 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001661/0.156, allocations: 1.495 MB / 350.8 MB, free: 13.47 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003675/0.1564, allocations: 320 kB / 351.2 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007114/0.1571, allocations: 415.8 kB / 351.6 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008044/0.1579, allocations: 0.9 MB / 352.5 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001401/0.1593, allocations: 1.416 MB / 353.9 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003615/0.1629, allocations: 4.139 MB / 358 MB, free: 6.281 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1629, allocations: 0 / 358 MB, free: 6.281 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.163, allocations: 0 / 358 MB, free: 6.281 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.711e-05/0.163, allocations: 0 / 358 MB, free: 6.281 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: 553 * Number of variables: 553 Notification: Performance of Generate backend data structure: time 0.005416/0.1684, allocations: 2.92 MB / 360.9 MB, free: 3.297 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.1685, allocations: 8.031 kB / 360.9 MB, free: 3.289 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006801/0.1692, allocations: 289.6 kB / 361.2 MB, free: 3.004 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002717/0.1719, allocations: 1.445 MB / 362.7 MB, free: 1.5 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/0.1721, allocations: 156.5 kB / 362.8 MB, free: 1.344 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003095/0.1724, allocations: 219.9 kB / 363 MB, free: 1.129 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004766/0.1771, allocations: 2.796 MB / 365.8 MB, free: 14.25 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.264e-05/0.1772, allocations: 7.891 kB / 365.8 MB, free: 14.24 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001939/0.1774, allocations: 91.98 kB / 365.9 MB, free: 14.15 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001115/0.1775, allocations: 104.2 kB / 366 MB, free: 14.04 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004327/0.1819, allocations: 2.347 MB / 368.4 MB, free: 11.68 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01513/0.197, allocations: 8.491 MB / 376.9 MB, free: 2.941 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002534/0.1996, allocations: 1.715 MB / 378.6 MB, free: 1.109 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001665/0.2013, allocations: 0.9674 MB / 379.6 MB, free: 140 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1713/0.3727, allocations: 202.7 kB / 379.8 MB, free: 51.72 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.873e-05/0.3728, allocations: 43.44 kB / 379.8 MB, free: 51.68 MB / 318.1 MB Notification: Performance of pre-optimization done (n=101): time 3.086e-06/0.3728, allocations: 0 / 379.8 MB, free: 51.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=116): time 0.01312/0.3859, allocations: 6.103 MB / 385.9 MB, free: 49.94 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.386, allocations: 64.22 kB / 386 MB, free: 49.88 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002226/0.3882, allocations: 1.438 MB / 387.4 MB, free: 49.32 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.835e-05/0.3883, allocations: 41.58 kB / 387.4 MB, free: 49.27 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006693/0.389, allocations: 1.04 MB / 388.5 MB, free: 48.47 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002955/0.3893, allocations: 409.5 kB / 388.9 MB, free: 48.16 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004758/0.3898, allocations: 257.2 kB / 389.1 MB, free: 48.04 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.3899, allocations: 361.9 kB / 389.5 MB, free: 47.71 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001096/0.391, allocations: 0.6824 MB / 390.2 MB, free: 47.48 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001372/0.3924, allocations: 1.077 MB / 391.2 MB, free: 46.77 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00244/0.3949, allocations: 1.861 MB / 393.1 MB, free: 45.7 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.707e-06/0.3949, allocations: 7.875 kB / 393.1 MB, free: 45.7 MB / 318.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004224/0.3991, allocations: 2.401 MB / 395.5 MB, free: 44.68 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/0.3992, allocations: 11.22 kB / 395.5 MB, free: 44.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.607e-05/0.3992, allocations: 10.97 kB / 395.5 MB, free: 44.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009265/0.4001, allocations: 419.1 kB / 395.9 MB, free: 44.55 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/0.4013, allocations: 331.4 kB / 396.3 MB, free: 44.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005473/0.4067, allocations: 7.039 MB / 403.3 MB, free: 38.88 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/0.4081, allocations: 96.72 kB / 403.4 MB, free: 38.83 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/0.4083, allocations: 62.61 kB / 403.5 MB, free: 38.82 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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): 153 * 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,11,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.001352/0.4096, allocations: 0.6874 MB / 404.2 MB, free: 38.35 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000348/0.41, allocations: 162.4 kB / 404.3 MB, free: 38.26 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003141/0.4131, allocations: 2.117 MB / 406.4 MB, free: 36.64 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.4131, allocations: 12 kB / 406.4 MB, free: 36.63 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.4132, allocations: 8.766 kB / 406.4 MB, free: 36.62 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.4132, allocations: 3.984 kB / 406.5 MB, free: 36.62 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006563/0.4197, allocations: 4.565 MB / 411 MB, free: 31.94 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/0.4198, allocations: 4.656 kB / 411 MB, free: 31.94 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008115/0.4206, allocations: 209.2 kB / 411.2 MB, free: 31.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009822/0.4216, allocations: 458 kB / 411.7 MB, free: 31.28 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.639e-05/0.4217, allocations: 39.97 kB / 411.7 MB, free: 31.24 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00576/0.4274, allocations: 8.606 MB / 420.3 MB, free: 22.11 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.4275, allocations: 9.062 kB / 420.3 MB, free: 22.11 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004319/0.4318, allocations: 3.11 MB / 423.4 MB, free: 18.9 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009744/0.4328, allocations: 375 kB / 423.8 MB, free: 18.52 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002371/0.433, allocations: 35.92 kB / 423.8 MB, free: 18.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008157/0.4339, allocations: 79.91 kB / 423.9 MB, free: 18.4 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002151/0.4341, allocations: 104.8 kB / 424 MB, free: 18.3 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.967e-05/0.4342, allocations: 35.98 kB / 424.1 MB, free: 18.27 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001206/0.4354, allocations: 0.9886 MB / 425 MB, free: 17.28 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4354, allocations: 0 / 425 MB, free: 17.28 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001589/0.437, allocations: 458.6 kB / 425.5 MB, free: 16.83 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (103): * Single equations (assignments): 99 * 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,11,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.0003379/0.4373, allocations: 194.2 kB / 425.7 MB, free: 16.64 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003126/0.4405, allocations: 2.226 MB / 427.9 MB, free: 14.36 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.4405, allocations: 4.375 kB / 427.9 MB, free: 14.36 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001886/0.4424, allocations: 1.44 MB / 429.4 MB, free: 12.87 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001779/0.4442, allocations: 421.5 kB / 429.8 MB, free: 12.47 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006012/0.4502, allocations: 4.46 MB / 434.2 MB, free: 7.957 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001067/0.4513, allocations: 1.81 MB / 436 MB, free: 6.121 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0009199/0.4522, allocations: 361.6 kB / 436.4 MB, free: 5.762 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002966/0.4525, allocations: 111.4 kB / 436.5 MB, free: 5.652 MB / 318.1 MB Notification: Performance of SimCode: time 8.52e-07/0.4525, allocations: 4 kB / 436.5 MB, free: 5.648 MB / 318.1 MB Notification: Performance of Templates: time 0.04349/0.496, allocations: 24.35 MB / 460.8 MB, free: 13.3 MB / 350.1 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMR_Inverter/SMR_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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