Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.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.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 108.7 kB / 17.16 MB, free: 6.305 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.001678/0.001678, allocations: 198 kB / 18.07 MB, free: 5.41 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.795/1.795, allocations: 205.1 MB / 223.9 MB, free: 12.46 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.0014/0.001401, allocations: 55.94 kB / 280 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1176, allocations: 46.63 MB / 326.6 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.01212/0.1298, allocations: 9.591 MB / 336.2 MB, free: 11.25 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007333/0.1372, allocations: 3.051 MB / 339.2 MB, free: 8.188 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002005/0.1393, allocations: 35.81 kB / 339.3 MB, free: 8.152 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001761/0.1411, allocations: 0.5361 MB / 339.8 MB, free: 7.613 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00258/0.1437, allocations: 0.6682 MB / 340.5 MB, free: 6.941 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009526/0.1446, allocations: 339.6 kB / 340.8 MB, free: 6.609 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003425/0.1481, allocations: 2.752 MB / 343.6 MB, free: 3.84 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002093/0.1502, allocations: 1.406 MB / 345 MB, free: 2.395 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002318/0.1525, allocations: 0.9533 MB / 345.9 MB, free: 1.438 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002184/0.1547, allocations: 1.269 MB / 347.2 MB, free: 168 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004341/0.1552, allocations: 176 kB / 347.4 MB, free: 15.99 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009383/0.1561, allocations: 275.8 kB / 347.6 MB, free: 15.72 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008875/0.157, allocations: 0.6736 MB / 348.3 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001609/0.1586, allocations: 1.158 MB / 349.5 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003806/0.1624, allocations: 3.512 MB / 353 MB, free: 10.36 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.958e-06/0.1625, allocations: 7.938 kB / 353 MB, free: 10.35 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1625, allocations: 0 / 353 MB, free: 10.35 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.638e-05/0.1626, allocations: 0 / 353 MB, free: 10.35 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.006133/0.1687, allocations: 2.583 MB / 355.6 MB, free: 7.711 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.1688, allocations: 8.031 kB / 355.6 MB, free: 7.703 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007124/0.1695, allocations: 262.1 kB / 355.8 MB, free: 7.445 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00203/0.1715, allocations: 1.26 MB / 357.1 MB, free: 6.129 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/0.1717, allocations: 140.2 kB / 357.2 MB, free: 5.992 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000271/0.1719, allocations: 196 kB / 357.4 MB, free: 5.801 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004161/0.1761, allocations: 2.419 MB / 359.8 MB, free: 3.344 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.451e-05/0.1762, allocations: 7.906 kB / 359.9 MB, free: 3.336 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001701/0.1764, allocations: 79.98 kB / 359.9 MB, free: 3.258 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001021/0.1765, allocations: 95.61 kB / 360 MB, free: 3.164 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003478/0.18, allocations: 1.955 MB / 362 MB, free: 1.207 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01295/0.1929, allocations: 7.851 MB / 369.8 MB, free: 9.113 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001846/0.1948, allocations: 1.235 MB / 371.1 MB, free: 7.836 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001677/0.1965, allocations: 0.94 MB / 372 MB, free: 6.891 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003745/0.1969, allocations: 118.1 kB / 372.1 MB, free: 6.758 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.537e-05/0.197, allocations: 43.56 kB / 372.2 MB, free: 6.703 MB / 318.1 MB Notification: Performance of pre-optimization done (n=95): time 2.976e-06/0.197, allocations: 4 kB / 372.2 MB, free: 6.699 MB / 318.1 MB Notification: Performance of matching and sorting (n=111): time 0.01352/0.2105, allocations: 5.862 MB / 378 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.928e-05/0.2106, allocations: 64.41 kB / 378.1 MB, free: 0.625 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2522/0.4628, allocations: 1.297 MB / 379.4 MB, free: 51.91 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004026/0.4633, allocations: 45.8 kB / 379.4 MB, free: 51.88 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00112/0.4644, allocations: 0.924 MB / 380.4 MB, free: 51.73 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006016/0.465, allocations: 392.4 kB / 380.7 MB, free: 51.48 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006141/0.4657, allocations: 246 kB / 381 MB, free: 51.36 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002068/0.4659, allocations: 360 kB / 381.3 MB, free: 51.04 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001798/0.4677, allocations: 0.6387 MB / 382 MB, free: 50.81 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001546/0.4692, allocations: 0.9966 MB / 383 MB, free: 50.15 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00265/0.4719, allocations: 1.738 MB / 384.7 MB, free: 49.16 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.379e-05/0.4719, allocations: 3.25 kB / 384.7 MB, free: 49.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004975/0.4769, allocations: 2.249 MB / 387 MB, free: 48.29 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.744e-05/0.477, allocations: 8.781 kB / 387 MB, free: 48.29 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.691e-05/0.477, allocations: 11.12 kB / 387 MB, free: 48.29 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001446/0.4785, allocations: 496.7 kB / 387.5 MB, free: 48.13 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/0.4797, allocations: 306.6 kB / 387.8 MB, free: 48.1 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007343/0.487, allocations: 6.531 MB / 394.3 MB, free: 43.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001627/0.4887, allocations: 86.38 kB / 394.4 MB, free: 42.99 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001205/0.4889, allocations: 56.88 kB / 394.4 MB, free: 42.98 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (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 {(2,12,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001219/0.4901, allocations: 0.5995 MB / 395 MB, free: 42.62 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000316/0.4904, allocations: 146.6 kB / 395.2 MB, free: 42.55 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00329/0.4937, allocations: 1.967 MB / 397.1 MB, free: 41.74 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-05/0.4937, allocations: 16.72 kB / 397.2 MB, free: 41.74 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.581e-05/0.4938, allocations: 5.5 kB / 397.2 MB, free: 41.74 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/0.4938, allocations: 3.984 kB / 397.2 MB, free: 41.74 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00664/0.5004, allocations: 4.143 MB / 401.3 MB, free: 39.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/0.5005, allocations: 3.438 kB / 401.3 MB, free: 39.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008003/0.5013, allocations: 184.3 kB / 401.5 MB, free: 39.88 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00139/0.5027, allocations: 0.5409 MB / 402 MB, free: 39.58 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.46e-05/0.5028, allocations: 30.77 kB / 402.1 MB, free: 39.56 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00639/0.5092, allocations: 8.034 MB / 410.1 MB, free: 31.98 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.5093, allocations: 4.031 kB / 410.1 MB, free: 31.98 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004141/0.5134, allocations: 2.852 MB / 413 MB, free: 29.08 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008222/0.5143, allocations: 355.3 kB / 413.3 MB, free: 28.71 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003906/0.5147, allocations: 27.94 kB / 413.3 MB, free: 28.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009104/0.5156, allocations: 67.92 kB / 413.4 MB, free: 28.62 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00024/0.5159, allocations: 88.91 kB / 413.5 MB, free: 28.53 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.898e-05/0.5159, allocations: 31.98 kB / 413.5 MB, free: 28.5 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0013/0.5172, allocations: 0.8917 MB / 414.4 MB, free: 27.6 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5173, allocations: 0 / 414.4 MB, free: 27.6 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001754/0.519, allocations: 440 kB / 414.8 MB, free: 27.17 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,1,100.0%), (2,8,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.0004278/0.5195, allocations: 183.9 kB / 415 MB, free: 26.99 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003394/0.5229, allocations: 2.217 MB / 417.2 MB, free: 24.7 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/0.5229, allocations: 4.312 kB / 417.2 MB, free: 24.7 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001996/0.5249, allocations: 1.51 MB / 418.7 MB, free: 23.12 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002765/0.5277, allocations: 400.6 kB / 419.1 MB, free: 22.74 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007914/0.5356, allocations: 4.963 MB / 424.1 MB, free: 17.74 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001377/0.537, allocations: 1.65 MB / 425.7 MB, free: 16.05 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001183/0.5382, allocations: 320.8 kB / 426.1 MB, free: 15.73 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003495/0.5386, allocations: 99.42 kB / 426.2 MB, free: 15.63 MB / 318.1 MB Notification: Performance of SimCode: time 1.673e-06/0.5386, allocations: 0 / 426.2 MB, free: 15.63 MB / 318.1 MB Notification: Performance of Templates: time 0.04312/0.5817, allocations: 22.83 MB / 449 MB, free: 8.797 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Steinmetz/AIMC_Steinmetz.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches