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.001884/0.001884, allocations: 109.4 kB / 18.4 MB, free: 4.688 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.00212/0.00212, allocations: 187.1 kB / 19.33 MB, free: 3.77 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.895/1.895, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.00152/0.001521, allocations: 47.94 kB / 329.2 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09949/0.101, allocations: 46.62 MB / 375.8 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter): time 0.2762/0.3773, allocations: 9.579 MB / 385.4 MB, free: 8.145 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008018/0.3854, allocations: 3.166 MB / 388.6 MB, free: 6.363 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003009/0.3884, allocations: 49.16 kB / 388.6 MB, free: 6.348 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003528/0.3921, allocations: 0.695 MB / 389.3 MB, free: 5.969 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005023/0.3972, allocations: 0.8092 MB / 390.1 MB, free: 5.445 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001625/0.3988, allocations: 388.8 kB / 390.5 MB, free: 5.211 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005177/0.404, allocations: 2.567 MB / 393.1 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003876/0.4079, allocations: 2.291 MB / 395.4 MB, free: 2.949 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003011/0.411, allocations: 1.178 MB / 396.5 MB, free: 2.379 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003813/0.4148, allocations: 1.499 MB / 398 MB, free: 1.676 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001307/0.4162, allocations: 318.1 kB / 398.4 MB, free: 1.676 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002001/0.4182, allocations: 421.3 kB / 398.8 MB, free: 1.645 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001474/0.4197, allocations: 0.8927 MB / 399.7 MB, free: 1.16 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003269/0.423, allocations: 1.417 MB / 401.1 MB, free: 240 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007477/0.4305, allocations: 4.151 MB / 405.2 MB, free: 13.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.4305, allocations: 0 / 405.2 MB, free: 13.98 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4306, allocations: 0 / 405.2 MB, free: 13.98 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001709/0.4307, allocations: 1.156 kB / 405.2 MB, free: 13.98 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: 553 * Number of variables: 553 Notification: Performance of Generate backend data structure: time 0.01033/0.4411, allocations: 2.902 MB / 408.1 MB, free: 11.96 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.636e-05/0.4411, allocations: 9.156 kB / 408.1 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001263/0.4424, allocations: 291.3 kB / 408.4 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003378/0.4458, allocations: 1.449 MB / 409.9 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001829/0.446, allocations: 162.4 kB / 410 MB, free: 10.69 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004387/0.4465, allocations: 213 kB / 410.2 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006579/0.4531, allocations: 2.796 MB / 413 MB, free: 8.938 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.817e-05/0.4532, allocations: 1.906 kB / 413 MB, free: 8.938 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002517/0.4534, allocations: 90.33 kB / 413.1 MB, free: 8.867 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000142/0.4536, allocations: 105.6 kB / 413.2 MB, free: 8.848 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005202/0.4588, allocations: 2.351 MB / 415.6 MB, free: 7.633 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01653/0.4754, allocations: 8.487 MB / 424.1 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002753/0.4782, allocations: 1.708 MB / 425.8 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001806/0.48, allocations: 0.9595 MB / 426.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003337/0.4804, allocations: 207.2 kB / 426.9 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.432e-05/0.4804, allocations: 43.56 kB / 427 MB, free: 11.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=101): time 3.267e-06/0.4804, allocations: 0 / 427 MB, free: 11.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=116): time 0.01431/0.4948, allocations: 6.106 MB / 433.1 MB, free: 5.562 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/0.4949, allocations: 61.25 kB / 433.1 MB, free: 5.492 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002476/0.4973, allocations: 1.445 MB / 434.6 MB, free: 4.035 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001468/0.4975, allocations: 45.7 kB / 434.6 MB, free: 3.984 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008067/0.4983, allocations: 1.029 MB / 435.7 MB, free: 2.941 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000407/0.4987, allocations: 418 kB / 436.1 MB, free: 2.527 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005594/0.4993, allocations: 255.4 kB / 436.3 MB, free: 2.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.4995, allocations: 361.9 kB / 436.7 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001258/0.5008, allocations: 0.6832 MB / 437.4 MB, free: 1.227 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001554/0.5023, allocations: 1.078 MB / 438.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002778/0.5051, allocations: 1.856 MB / 440.3 MB, free: 13.97 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.428e-06/0.5051, allocations: 4 kB / 440.3 MB, free: 13.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004808/0.51, allocations: 2.402 MB / 442.7 MB, free: 11.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.249e-05/0.51, allocations: 12 kB / 442.7 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.451e-05/0.5101, allocations: 12 kB / 442.7 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001102/0.5112, allocations: 419.3 kB / 443.1 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001304/0.5125, allocations: 327.5 kB / 443.4 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00783/0.5203, allocations: 7.049 MB / 450.5 MB, free: 3.289 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001763/0.5221, allocations: 95.94 kB / 450.6 MB, free: 3.195 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002582/0.5224, allocations: 59.98 kB / 450.6 MB, free: 3.137 MB / 366.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.001854/0.5243, allocations: 0.6931 MB / 451.3 MB, free: 2.434 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006044/0.5249, allocations: 162.1 kB / 451.5 MB, free: 2.273 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004477/0.5294, allocations: 2.115 MB / 453.6 MB, free: 120 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-05/0.5294, allocations: 12 kB / 453.6 MB, free: 108 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-05/0.5295, allocations: 8 kB / 453.6 MB, free: 100 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.746e-05/0.5295, allocations: 3.984 kB / 453.6 MB, free: 96 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009581/0.5391, allocations: 4.568 MB / 458.2 MB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.35e-05/0.5391, allocations: 0 / 458.2 MB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001321/0.5405, allocations: 207.7 kB / 458.4 MB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001298/0.5418, allocations: 460.8 kB / 458.9 MB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001303/0.5419, allocations: 35.97 kB / 458.9 MB, free: 10.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009539/0.5515, allocations: 8.616 MB / 467.5 MB, free: 1.508 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-05/0.5515, allocations: 11.88 kB / 467.5 MB, free: 1.496 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006081/0.5576, allocations: 3.103 MB / 470.6 MB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001095/0.5588, allocations: 375 kB / 471 MB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005236/0.5593, allocations: 35.98 kB / 471 MB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001253/0.5606, allocations: 79.91 kB / 471.1 MB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002892/0.5609, allocations: 100.8 kB / 471.2 MB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001122/0.561, allocations: 39.92 kB / 471.2 MB, free: 13.65 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002137/0.5631, allocations: 0.9886 MB / 472.2 MB, free: 12.66 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5632, allocations: 0 / 472.2 MB, free: 12.66 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002536/0.5657, allocations: 460.1 kB / 472.7 MB, free: 12.21 MB / 398.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.0006429/0.5664, allocations: 194.8 kB / 472.9 MB, free: 12.02 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004382/0.5708, allocations: 2.231 MB / 475.1 MB, free: 9.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/0.5708, allocations: 0 / 475.1 MB, free: 9.73 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002688/0.5735, allocations: 1.438 MB / 476.5 MB, free: 8.238 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002753/0.5763, allocations: 423.5 kB / 477 MB, free: 7.832 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009532/0.5858, allocations: 4.512 MB / 481.5 MB, free: 3.238 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002026/0.5879, allocations: 1.784 MB / 483.2 MB, free: 1.422 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006778/0.5886, allocations: 123.4 kB / 483.4 MB, free: 1.301 MB / 398.1 MB Notification: Performance of SimCode: time 1.754e-06/0.5886, allocations: 0 / 483.4 MB, free: 1.301 MB / 398.1 MB Notification: Performance of Templates: time 0.09151/0.6801, allocations: 69.14 MB / 0.5396 GB, free: 12 MB / 478.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 -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