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.001773/0.001773, allocations: 105.5 kB / 17.15 MB, free: 6.328 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.001781/0.001782, allocations: 198 kB / 18.07 MB, free: 5.434 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.737/1.737, allocations: 205.1 MB / 223.9 MB, free: 12.49 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.00131/0.00131, allocations: 51.92 kB / 280 MB, free: 3.605 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1416, allocations: 46.63 MB / 326.6 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter): time 0.0167/0.1583, allocations: 9.524 MB / 336.1 MB, free: 11.33 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009087/0.1675, allocations: 3.117 MB / 339.2 MB, free: 8.199 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002645/0.1702, allocations: 47.75 kB / 339.3 MB, free: 8.152 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002941/0.1732, allocations: 0.5788 MB / 339.9 MB, free: 7.57 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004625/0.1778, allocations: 0.6916 MB / 340.6 MB, free: 6.875 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0019/0.1798, allocations: 339.7 kB / 340.9 MB, free: 6.543 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005179/0.185, allocations: 2.884 MB / 343.8 MB, free: 3.648 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00383/0.1888, allocations: 1.93 MB / 345.7 MB, free: 1.656 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002745/0.1916, allocations: 1.031 MB / 346.7 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00272/0.1943, allocations: 1.444 MB / 348.2 MB, free: 15.17 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005346/0.1949, allocations: 196 kB / 348.4 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001131/0.196, allocations: 307.8 kB / 348.7 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001131/0.1972, allocations: 0.7788 MB / 349.5 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001998/0.1992, allocations: 1.29 MB / 350.7 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005537/0.2047, allocations: 3.999 MB / 354.7 MB, free: 8.59 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.08e-05/0.2048, allocations: 0 / 354.7 MB, free: 8.59 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.599e-06/0.2048, allocations: 4 kB / 354.7 MB, free: 8.586 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001316/0.205, allocations: 0 / 354.7 MB, free: 8.586 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.009685/0.2147, allocations: 2.9 MB / 357.6 MB, free: 5.621 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.798e-05/0.2147, allocations: 8.031 kB / 357.7 MB, free: 5.613 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/0.2158, allocations: 289.6 kB / 357.9 MB, free: 5.328 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003374/0.2191, allocations: 1.433 MB / 359.4 MB, free: 3.836 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002628/0.2194, allocations: 172.5 kB / 359.5 MB, free: 3.664 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004877/0.2199, allocations: 208 kB / 359.7 MB, free: 3.461 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006883/0.2268, allocations: 2.807 MB / 362.6 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.118e-05/0.227, allocations: 3.906 kB / 362.6 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002682/0.2272, allocations: 84 kB / 362.6 MB, free: 492 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001604/0.2274, allocations: 108.2 kB / 362.7 MB, free: 380 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005513/0.2329, allocations: 2.343 MB / 365.1 MB, free: 14.01 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0189/0.2518, allocations: 8.593 MB / 373.7 MB, free: 5.172 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00362/0.2555, allocations: 1.707 MB / 375.4 MB, free: 3.352 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00293/0.2585, allocations: 0.9684 MB / 376.4 MB, free: 2.379 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004347/0.259, allocations: 203.2 kB / 376.6 MB, free: 2.141 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.642e-05/0.2591, allocations: 55.5 kB / 376.6 MB, free: 2.078 MB / 318.1 MB Notification: Performance of pre-optimization done (n=101): time 5.22e-06/0.2591, allocations: 0 / 376.6 MB, free: 2.078 MB / 318.1 MB Notification: Performance of matching and sorting (n=116): time 0.2264/0.4855, allocations: 6.102 MB / 382.7 MB, free: 50.93 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.098e-05/0.4856, allocations: 64.59 kB / 382.8 MB, free: 50.87 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004557/0.4902, allocations: 1.438 MB / 384.2 MB, free: 50.31 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00031/0.4905, allocations: 46.05 kB / 384.3 MB, free: 50.26 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001012/0.4915, allocations: 1.036 MB / 385.3 MB, free: 49.46 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006546/0.4922, allocations: 407.1 kB / 385.7 MB, free: 49.16 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007544/0.493, allocations: 255.8 kB / 385.9 MB, free: 49.03 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.4931, allocations: 365 kB / 386.3 MB, free: 48.7 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001529/0.4947, allocations: 0.6836 MB / 387 MB, free: 48.47 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001806/0.4965, allocations: 1.073 MB / 388.1 MB, free: 47.76 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003928/0.5004, allocations: 1.864 MB / 389.9 MB, free: 46.7 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.685e-05/0.5005, allocations: 2.781 kB / 389.9 MB, free: 46.7 MB / 318.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.007849/0.5084, allocations: 2.399 MB / 392.3 MB, free: 45.7 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.448e-05/0.5085, allocations: 11.78 kB / 392.3 MB, free: 45.7 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.816e-05/0.5086, allocations: 19.69 kB / 392.3 MB, free: 45.69 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001432/0.51, allocations: 406.5 kB / 392.7 MB, free: 45.57 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00186/0.5119, allocations: 333.4 kB / 393.1 MB, free: 45.53 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007376/0.5193, allocations: 6.464 MB / 399.5 MB, free: 40.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00196/0.5213, allocations: 104.7 kB / 399.6 MB, free: 40.47 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002964/0.5216, allocations: 55.41 kB / 399.7 MB, free: 40.46 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.001714/0.5234, allocations: 0.6925 MB / 400.4 MB, free: 40.06 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000672/0.5241, allocations: 158.8 kB / 400.5 MB, free: 39.98 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003967/0.528, allocations: 2.118 MB / 402.7 MB, free: 38.91 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.456e-05/0.5281, allocations: 11.75 kB / 402.7 MB, free: 38.91 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-05/0.5281, allocations: 3.906 kB / 402.7 MB, free: 38.91 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.446e-05/0.5281, allocations: 11.91 kB / 402.7 MB, free: 38.9 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008384/0.5365, allocations: 4.567 MB / 407.2 MB, free: 34.99 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/0.5366, allocations: 8.094 kB / 407.3 MB, free: 34.98 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008498/0.5374, allocations: 215.7 kB / 407.5 MB, free: 34.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001103/0.5386, allocations: 463.9 kB / 407.9 MB, free: 34.32 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001052/0.5387, allocations: 31.98 kB / 408 MB, free: 34.29 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006167/0.5449, allocations: 7.913 MB / 415.9 MB, free: 25.86 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/0.5449, allocations: 8 kB / 415.9 MB, free: 25.86 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005098/0.55, allocations: 3.112 MB / 419 MB, free: 22.65 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001012/0.5511, allocations: 380.4 kB / 419.4 MB, free: 22.26 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005181/0.5516, allocations: 31.98 kB / 419.4 MB, free: 22.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001244/0.5529, allocations: 83.91 kB / 419.5 MB, free: 22.15 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003105/0.5532, allocations: 96.75 kB / 419.6 MB, free: 22.05 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/0.5533, allocations: 35.98 kB / 419.6 MB, free: 22.02 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.00204/0.5554, allocations: 0.9886 MB / 420.6 MB, free: 21.03 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5554, allocations: 0 / 420.6 MB, free: 21.03 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.003808/0.5592, allocations: 462.6 kB / 421 MB, free: 20.58 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.0007289/0.56, allocations: 188.2 kB / 421.2 MB, free: 20.39 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004621/0.5646, allocations: 2.211 MB / 423.4 MB, free: 18.12 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.275e-05/0.5647, allocations: 4.062 kB / 423.4 MB, free: 18.12 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002502/0.5672, allocations: 1.44 MB / 424.9 MB, free: 16.63 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003558/0.5708, allocations: 406.9 kB / 425.3 MB, free: 16.25 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01337/0.5842, allocations: 5.424 MB / 430.7 MB, free: 10.77 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003023/0.5873, allocations: 1.803 MB / 432.5 MB, free: 8.934 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001829/0.5892, allocations: 365.6 kB / 432.9 MB, free: 8.57 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007479/0.59, allocations: 111.4 kB / 433 MB, free: 8.461 MB / 318.1 MB Notification: Performance of SimCode: time 2.545e-06/0.59, allocations: 0 / 433 MB, free: 8.461 MB / 318.1 MB Notification: Performance of Templates: time 0.04765/0.6377, allocations: 23.4 MB / 456.4 MB, free: 1.059 MB / 334.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