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.001723/0.001724, allocations: 112.1 kB / 17.28 MB, free: 6.219 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.002046/0.002046, allocations: 185.3 kB / 18.2 MB, free: 5.301 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.942/1.942, allocations: 205.1 MB / 224.1 MB, free: 12.45 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.001228/0.001228, allocations: 43.94 kB / 280.2 MB, free: 3.5 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1124, allocations: 46.63 MB / 326.8 MB, free: 4.809 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter): time 0.0129/0.1254, allocations: 9.528 MB / 336.3 MB, free: 11.23 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008841/0.1342, allocations: 3.098 MB / 339.4 MB, free: 8.117 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002461/0.1367, allocations: 43.81 kB / 339.4 MB, free: 8.074 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002491/0.1393, allocations: 0.6021 MB / 340 MB, free: 7.469 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003596/0.1429, allocations: 0.676 MB / 340.7 MB, free: 6.789 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001248/0.1442, allocations: 347.7 kB / 341.1 MB, free: 6.449 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003934/0.1481, allocations: 2.549 MB / 343.6 MB, free: 3.891 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00292/0.1511, allocations: 2.294 MB / 345.9 MB, free: 1.535 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002555/0.1537, allocations: 1.18 MB / 347.1 MB, free: 360 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002261/0.1559, allocations: 1.522 MB / 348.6 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004772/0.1564, allocations: 320 kB / 348.9 MB, free: 14.51 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008432/0.1573, allocations: 423.8 kB / 349.3 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008504/0.1581, allocations: 0.9038 MB / 350.2 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001529/0.1597, allocations: 1.412 MB / 351.7 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004663/0.1643, allocations: 4.101 MB / 355.8 MB, free: 7.66 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.1644, allocations: 0 / 355.8 MB, free: 7.66 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1644, allocations: 4 kB / 355.8 MB, free: 7.656 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.924e-05/0.1645, allocations: 0 / 355.8 MB, free: 7.656 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.006453/0.1709, allocations: 2.9 MB / 358.7 MB, free: 4.691 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.171, allocations: 8.031 kB / 358.7 MB, free: 4.684 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008192/0.1718, allocations: 289.6 kB / 358.9 MB, free: 4.398 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00234/0.1742, allocations: 1.437 MB / 360.4 MB, free: 2.902 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001417/0.1743, allocations: 168.5 kB / 360.5 MB, free: 2.734 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002916/0.1746, allocations: 212 kB / 360.8 MB, free: 2.527 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004717/0.1793, allocations: 2.792 MB / 363.5 MB, free: 15.65 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.045e-05/0.1794, allocations: 11.91 kB / 363.6 MB, free: 15.64 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001883/0.1796, allocations: 84 kB / 363.6 MB, free: 15.55 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001277/0.1797, allocations: 108.1 kB / 363.7 MB, free: 15.45 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003982/0.1837, allocations: 2.347 MB / 366.1 MB, free: 13.08 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01399/0.1977, allocations: 8.597 MB / 374.7 MB, free: 4.238 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002788/0.2006, allocations: 1.712 MB / 376.4 MB, free: 2.414 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00172/0.2024, allocations: 0.9752 MB / 377.4 MB, free: 1.434 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003599/0.2027, allocations: 203.2 kB / 377.6 MB, free: 1.195 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.562e-05/0.2028, allocations: 47.5 kB / 377.6 MB, free: 1.141 MB / 318.1 MB Notification: Performance of pre-optimization done (n=101): time 3.536e-06/0.2028, allocations: 0 / 377.6 MB, free: 1.141 MB / 318.1 MB Notification: Performance of matching and sorting (n=116): time 0.25/0.4528, allocations: 6.096 MB / 383.7 MB, free: 50.27 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.4529, allocations: 67.41 kB / 383.8 MB, free: 50.21 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003263/0.4562, allocations: 1.44 MB / 385.2 MB, free: 49.65 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002719/0.4565, allocations: 41.45 kB / 385.3 MB, free: 49.61 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001209/0.4577, allocations: 1.039 MB / 386.3 MB, free: 48.8 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006011/0.4583, allocations: 406.3 kB / 386.7 MB, free: 48.5 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006054/0.459, allocations: 257.7 kB / 387 MB, free: 48.37 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001801/0.4591, allocations: 361.6 kB / 387.3 MB, free: 48.04 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001428/0.4606, allocations: 0.6865 MB / 388 MB, free: 47.81 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001562/0.4622, allocations: 1.069 MB / 389.1 MB, free: 47.11 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00304/0.4652, allocations: 1.862 MB / 390.9 MB, free: 46.02 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.097e-05/0.4653, allocations: 4.031 kB / 390.9 MB, free: 46.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004553/0.4698, allocations: 2.397 MB / 393.3 MB, free: 45.02 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.679e-05/0.4699, allocations: 10.97 kB / 393.3 MB, free: 45.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.776e-05/0.4699, allocations: 15.06 kB / 393.3 MB, free: 45.01 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001024/0.471, allocations: 423.1 kB / 393.8 MB, free: 44.88 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/0.4723, allocations: 329.4 kB / 394.1 MB, free: 44.85 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005642/0.4779, allocations: 7.05 MB / 401.1 MB, free: 39.31 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001707/0.4797, allocations: 99.69 kB / 401.2 MB, free: 39.29 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001554/0.4799, allocations: 58.53 kB / 401.3 MB, free: 39.28 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.001281/0.4812, allocations: 0.6924 MB / 402 MB, free: 38.82 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003989/0.4816, allocations: 158.4 kB / 402.1 MB, free: 38.73 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003312/0.4849, allocations: 2.118 MB / 404.3 MB, free: 37.49 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.918e-06/0.4849, allocations: 14.72 kB / 404.3 MB, free: 37.49 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.4849, allocations: 7.688 kB / 404.3 MB, free: 37.48 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.293e-05/0.4849, allocations: 7.969 kB / 404.3 MB, free: 37.48 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006596/0.4915, allocations: 4.567 MB / 408.9 MB, free: 33.36 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/0.4916, allocations: 4 kB / 408.9 MB, free: 33.36 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008572/0.4925, allocations: 220.1 kB / 409.1 MB, free: 33.14 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001122/0.4936, allocations: 447.4 kB / 409.5 MB, free: 32.7 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001093/0.4937, allocations: 35.92 kB / 409.5 MB, free: 32.66 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006659/0.5004, allocations: 8.629 MB / 418.2 MB, free: 23.51 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.5005, allocations: 5.312 kB / 418.2 MB, free: 23.51 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004721/0.5052, allocations: 3.098 MB / 421.3 MB, free: 20.32 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00152/0.5068, allocations: 387 kB / 421.7 MB, free: 19.92 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004069/0.5072, allocations: 28 kB / 421.7 MB, free: 19.89 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00101/0.5082, allocations: 87.84 kB / 421.8 MB, free: 19.8 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000332/0.5086, allocations: 92.81 kB / 421.9 MB, free: 19.71 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.577e-05/0.5087, allocations: 43.98 kB / 421.9 MB, free: 19.67 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001649/0.5103, allocations: 0.9925 MB / 422.9 MB, free: 18.68 MB / 318.1 MB Notification: Performance of sort global known variables: time 7.61e-07/0.5103, allocations: 0 / 422.9 MB, free: 18.68 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002458/0.5128, allocations: 454.6 kB / 423.3 MB, free: 18.24 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.0004867/0.5133, allocations: 200.3 kB / 423.5 MB, free: 18.04 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00497/0.5183, allocations: 2.674 MB / 426.2 MB, free: 15.32 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.271e-05/0.5183, allocations: 8.781 kB / 426.2 MB, free: 15.31 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002196/0.5205, allocations: 1.447 MB / 427.7 MB, free: 13.82 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00266/0.5232, allocations: 422.8 kB / 428.1 MB, free: 13.42 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008502/0.5317, allocations: 5.44 MB / 433.5 MB, free: 7.914 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001357/0.5332, allocations: 1.803 MB / 435.3 MB, free: 6.078 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001297/0.5345, allocations: 365.6 kB / 435.7 MB, free: 5.715 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003121/0.5348, allocations: 115.4 kB / 435.8 MB, free: 5.602 MB / 318.1 MB Notification: Performance of SimCode: time 7.91e-07/0.5348, allocations: 0 / 435.8 MB, free: 5.602 MB / 318.1 MB Notification: Performance of Templates: time 0.05071/0.5855, allocations: 24.31 MB / 460.1 MB, free: 13.29 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMR_Inverter/SMR_Inverter.csv","../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