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.0009616/0.0009615, allocations: 95.36 kB / 17.3 MB, free: 6.344 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.001175/0.001175, allocations: 180.2 kB / 18.21 MB, free: 5.531 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.592/1.592, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0005676/0.0005676, allocations: 15.94 kB / 281.4 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.127, allocations: 47.58 MB / 329 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter): time 0.01254/0.1396, allocations: 9.653 MB / 338.6 MB, free: 10.07 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01052/0.1502, allocations: 3.413 MB / 342 MB, free: 6.637 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003233/0.1535, allocations: 47.75 kB / 342.1 MB, free: 6.59 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002995/0.1565, allocations: 0.672 MB / 342.8 MB, free: 5.914 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005213/0.1618, allocations: 0.7459 MB / 343.5 MB, free: 5.164 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001705/0.1635, allocations: 383.5 kB / 343.9 MB, free: 4.789 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.006418/0.1699, allocations: 3.086 MB / 347 MB, free: 1.691 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00356/0.1735, allocations: 1.97 MB / 348.9 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002692/0.1763, allocations: 0.9568 MB / 349.9 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00302/0.1793, allocations: 1.338 MB / 351.2 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005762/0.1799, allocations: 140 kB / 351.4 MB, free: 13.22 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001138/0.1811, allocations: 255.8 kB / 351.6 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008801/0.182, allocations: 0.7163 MB / 352.3 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001801/0.1838, allocations: 1.28 MB / 353.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004672/0.1884, allocations: 4.091 MB / 357.7 MB, free: 6.852 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.1885, allocations: 0 / 357.7 MB, free: 6.852 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.1885, allocations: 7.875 kB / 357.7 MB, free: 6.844 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.734e-05/0.1886, allocations: 0 / 357.7 MB, free: 6.844 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.006094/0.1947, allocations: 2.59 MB / 360.3 MB, free: 4.191 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.1947, allocations: 8.031 kB / 360.3 MB, free: 4.184 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008161/0.1956, allocations: 313.4 kB / 360.6 MB, free: 3.875 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002408/0.198, allocations: 1.516 MB / 362.1 MB, free: 2.301 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001613/0.1982, allocations: 180.5 kB / 362.3 MB, free: 2.121 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003211/0.1985, allocations: 223.9 kB / 362.5 MB, free: 1.902 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005089/0.2036, allocations: 2.925 MB / 365.4 MB, free: 14.89 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.672e-05/0.2037, allocations: 0 / 365.4 MB, free: 14.89 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002014/0.2039, allocations: 92 kB / 365.5 MB, free: 14.8 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001313/0.204, allocations: 116.3 kB / 365.6 MB, free: 14.68 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004318/0.2083, allocations: 2.453 MB / 368.1 MB, free: 12.21 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01596/0.2243, allocations: 9.164 MB / 377.3 MB, free: 2.766 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002647/0.227, allocations: 1.725 MB / 379 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2366/0.4637, allocations: 0.9872 MB / 380 MB, free: 50.54 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003762/0.4641, allocations: 206 kB / 380.2 MB, free: 50.35 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.031e-05/0.4641, allocations: 45.06 kB / 380.2 MB, free: 50.31 MB / 318.1 MB Notification: Performance of pre-optimization done (n=105): time 3.086e-06/0.4642, allocations: 0 / 380.2 MB, free: 50.31 MB / 318.1 MB Notification: Performance of matching and sorting (n=122): time 0.01865/0.4828, allocations: 6.658 MB / 386.9 MB, free: 48.63 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.4829, allocations: 68.73 kB / 386.9 MB, free: 48.57 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003217/0.4861, allocations: 1.563 MB / 388.5 MB, free: 47.97 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001082/0.4862, allocations: 47.23 kB / 388.6 MB, free: 47.92 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009396/0.4872, allocations: 1.106 MB / 389.7 MB, free: 47.07 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003603/0.4876, allocations: 428.6 kB / 390.1 MB, free: 46.74 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002014/0.4878, allocations: 121.3 kB / 390.2 MB, free: 46.68 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.504e-05/0.4878, allocations: 303.3 kB / 390.5 MB, free: 46.38 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001365/0.4892, allocations: 0.7198 MB / 391.2 MB, free: 46.14 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001488/0.4907, allocations: 1.152 MB / 392.4 MB, free: 45.36 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002429/0.4931, allocations: 1.992 MB / 394.4 MB, free: 44.17 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.218e-05/0.4932, allocations: 4.375 kB / 394.4 MB, free: 44.17 MB / 318.1 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.00421/0.4974, allocations: 2.542 MB / 396.9 MB, free: 43.11 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.4974, allocations: 11.91 kB / 396.9 MB, free: 43.11 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.043e-05/0.4975, allocations: 19.5 kB / 396.9 MB, free: 43.1 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008098/0.4983, allocations: 419 kB / 397.3 MB, free: 42.98 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/0.4994, allocations: 355.3 kB / 397.7 MB, free: 42.94 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004828/0.5042, allocations: 6.56 MB / 404.3 MB, free: 37.65 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/0.5055, allocations: 115.7 kB / 404.4 MB, free: 37.59 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.929e-05/0.5056, allocations: 64.33 kB / 404.4 MB, free: 37.58 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.001065/0.5066, allocations: 0.7086 MB / 405.1 MB, free: 37.1 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002217/0.5069, allocations: 175.2 kB / 405.3 MB, free: 37.01 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002982/0.5098, allocations: 2.21 MB / 407.5 MB, free: 34.85 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.984e-06/0.5099, allocations: 12 kB / 407.5 MB, free: 34.84 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.5099, allocations: 4 kB / 407.5 MB, free: 34.84 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.5099, allocations: 3.984 kB / 407.5 MB, free: 34.83 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006168/0.5161, allocations: 4.823 MB / 412.4 MB, free: 29.89 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.5161, allocations: 4 kB / 412.4 MB, free: 29.89 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000818/0.5169, allocations: 224.5 kB / 412.6 MB, free: 29.67 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009812/0.5179, allocations: 456 kB / 413 MB, free: 29.21 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.189e-05/0.518, allocations: 35.98 kB / 413.1 MB, free: 29.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005547/0.5235, allocations: 7.976 MB / 421 MB, free: 20.69 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/0.5236, allocations: 15.88 kB / 421.1 MB, free: 20.67 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004156/0.5277, allocations: 3.246 MB / 424.3 MB, free: 17.33 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007803/0.5285, allocations: 398.8 kB / 424.7 MB, free: 16.92 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001898/0.5287, allocations: 39.98 kB / 424.7 MB, free: 16.88 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008511/0.5296, allocations: 91.84 kB / 424.8 MB, free: 16.79 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002152/0.5298, allocations: 104.7 kB / 424.9 MB, free: 16.69 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.536e-05/0.5299, allocations: 44 kB / 425 MB, free: 16.64 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001266/0.5312, allocations: 1.07 MB / 426 MB, free: 15.58 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5312, allocations: 0 / 426 MB, free: 15.58 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001573/0.5327, allocations: 490.7 kB / 426.5 MB, free: 15.1 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.0003427/0.5331, allocations: 196.9 kB / 426.7 MB, free: 14.9 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002938/0.536, allocations: 2.303 MB / 429 MB, free: 12.55 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.5361, allocations: 4 kB / 429 MB, free: 12.54 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001922/0.538, allocations: 1.486 MB / 430.5 MB, free: 11.01 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002803/0.5408, allocations: 455.7 kB / 430.9 MB, free: 10.57 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006679/0.5475, allocations: 5.853 MB / 436.8 MB, free: 4.645 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00115/0.5487, allocations: 1.867 MB / 438.7 MB, free: 2.738 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001189/0.5499, allocations: 386.9 kB / 439 MB, free: 2.355 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003071/0.5502, allocations: 123.4 kB / 439.2 MB, free: 2.234 MB / 318.1 MB Notification: Performance of SimCode: time 9.12e-07/0.5502, allocations: 0 / 439.2 MB, free: 2.234 MB / 318.1 MB Notification: Performance of Templates: time 0.04691/0.5971, allocations: 24.94 MB / 464.1 MB, free: 9.262 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