Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001145, allocations: 99.38 kB / 16.95 MB, free: 6.449 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.001642/0.001642, allocations: 183.9 kB / 17.84 MB, free: 6.004 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.832/1.832, allocations: 205.4 MB / 224 MB, free: 13.15 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.0005032/0.0005036, allocations: 12.62 kB / 280.8 MB, free: 3.723 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1222, allocations: 47.59 MB / 328.4 MB, free: 4.07 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz): time 0.01442/0.1366, allocations: 11.95 MB / 340.3 MB, free: 8.078 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0114/0.1481, allocations: 4.13 MB / 344.4 MB, free: 3.934 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003116/0.1512, allocations: 63.75 kB / 344.5 MB, free: 3.871 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003736/0.155, allocations: 0.7379 MB / 345.2 MB, free: 3.129 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005571/0.1606, allocations: 1.072 MB / 346.3 MB, free: 2.051 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002706/0.1633, allocations: 0.6276 MB / 346.9 MB, free: 1.422 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.007656/0.171, allocations: 4.059 MB / 351 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004501/0.1755, allocations: 2.179 MB / 353.2 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002851/0.1784, allocations: 1.296 MB / 354.5 MB, free: 9.824 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003205/0.1817, allocations: 1.618 MB / 356.1 MB, free: 8.199 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00104/0.1827, allocations: 212 kB / 356.3 MB, free: 7.992 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002339/0.1851, allocations: 399.8 kB / 356.7 MB, free: 7.602 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001507/0.1866, allocations: 0.7473 MB / 357.4 MB, free: 6.852 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001625/0.1882, allocations: 0.7421 MB / 358.2 MB, free: 6.102 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006681/0.1949, allocations: 5.473 MB / 363.7 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.195, allocations: 0 / 363.7 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.195, allocations: 4 kB / 363.7 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001693/0.1952, allocations: 0 / 363.7 MB, free: 0.6094 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: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.01077/0.2059, allocations: 3.739 MB / 367.4 MB, free: 12.8 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.231e-05/0.206, allocations: 8.031 kB / 367.4 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005256/0.2113, allocations: 0.8193 MB / 368.2 MB, free: 11.97 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005456/0.2168, allocations: 2.159 MB / 370.4 MB, free: 9.754 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003673/0.2172, allocations: 246.4 kB / 370.6 MB, free: 9.512 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001253/0.2185, allocations: 319.9 kB / 370.9 MB, free: 9.199 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009301/0.2278, allocations: 4.243 MB / 375.2 MB, free: 4.902 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-05/0.2279, allocations: 7.984 kB / 375.2 MB, free: 4.895 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002929/0.2282, allocations: 139.9 kB / 375.3 MB, free: 4.758 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001471/0.2283, allocations: 142.4 kB / 375.5 MB, free: 4.617 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006719/0.2351, allocations: 3.586 MB / 379 MB, free: 1.023 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2401/0.4752, allocations: 13.93 MB / 393 MB, free: 41.11 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005927/0.4812, allocations: 6.555 MB / 399.5 MB, free: 34.87 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002412/0.4836, allocations: 1.394 MB / 400.9 MB, free: 34.2 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007802/0.4915, allocations: 3.651 MB / 404.6 MB, free: 31.59 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.747e-05/0.4915, allocations: 47.69 kB / 404.6 MB, free: 31.54 MB / 318.1 MB Notification: Performance of pre-optimization done (n=134): time 4.328e-06/0.4916, allocations: 0 / 404.6 MB, free: 31.54 MB / 318.1 MB Notification: Performance of matching and sorting (n=137): time 0.0113/0.5029, allocations: 5.933 MB / 410.6 MB, free: 27.69 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/0.5029, allocations: 67.28 kB / 410.6 MB, free: 27.63 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002861/0.5058, allocations: 1.782 MB / 412.4 MB, free: 26.66 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001011/0.5059, allocations: 45.27 kB / 412.5 MB, free: 26.61 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008373/0.5068, allocations: 1.427 MB / 413.9 MB, free: 25.36 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003521/0.5071, allocations: 485.3 kB / 414.4 MB, free: 24.95 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.781e-05/0.5072, allocations: 33.56 kB / 414.4 MB, free: 24.92 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.5073, allocations: 378.4 kB / 414.8 MB, free: 24.57 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009626/0.5083, allocations: 0.6761 MB / 415.4 MB, free: 24.21 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001174/0.5095, allocations: 1.196 MB / 416.6 MB, free: 23.14 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001246/0.5107, allocations: 0.8965 MB / 417.5 MB, free: 22.24 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.189e-05/0.5108, allocations: 4 kB / 417.5 MB, free: 22.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.003582/0.5144, allocations: 2.532 MB / 420.1 MB, free: 19.66 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/0.5144, allocations: 12 kB / 420.1 MB, free: 19.65 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.804e-05/0.5144, allocations: 16 kB / 420.1 MB, free: 19.64 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008809/0.5153, allocations: 372 kB / 420.4 MB, free: 19.26 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/0.5166, allocations: 383.4 kB / 420.8 MB, free: 18.89 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005627/0.5222, allocations: 7.67 MB / 428.5 MB, free: 10.7 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001379/0.5236, allocations: 79.86 kB / 428.6 MB, free: 10.62 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001438/0.5238, allocations: 72 kB / 428.6 MB, free: 10.55 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * 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 initialization (192): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 7,(2,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001752/0.5255, allocations: 1.009 MB / 429.6 MB, free: 9.531 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004366/0.526, allocations: 189.7 kB / 429.8 MB, free: 9.344 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003507/0.5295, allocations: 2.291 MB / 432.1 MB, free: 6.98 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-05/0.5296, allocations: 16 kB / 432.1 MB, free: 6.965 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-05/0.5296, allocations: 8 kB / 432.1 MB, free: 6.957 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/0.5296, allocations: 4.172 kB / 432.2 MB, free: 6.953 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007898/0.5375, allocations: 5.067 MB / 437.2 MB, free: 1.777 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/0.5376, allocations: 3.938 kB / 437.2 MB, free: 1.773 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007259/0.5383, allocations: 180 kB / 437.4 MB, free: 1.598 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001221/0.5395, allocations: 0.5316 MB / 437.9 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001034/0.5397, allocations: 39.94 kB / 438 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01239/0.552, allocations: 12.07 MB / 450 MB, free: 4.168 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/0.5521, allocations: 4.031 kB / 450 MB, free: 4.164 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005824/0.5579, allocations: 3.219 MB / 453.3 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001604/0.5596, allocations: 426.6 kB / 453.7 MB, free: 432 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007933/0.5604, allocations: 35.98 kB / 453.7 MB, free: 396 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001502/0.5619, allocations: 71.95 kB / 453.8 MB, free: 324 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003917/0.5623, allocations: 105.9 kB / 453.9 MB, free: 220 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001196/0.5625, allocations: 36 kB / 453.9 MB, free: 184 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.002787/0.5652, allocations: 1.207 MB / 455.1 MB, free: 14.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.5653, allocations: 4 kB / 455.1 MB, free: 14.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003346/0.5686, allocations: 0.5781 MB / 455.7 MB, free: 14.4 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,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): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 7,(2,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004829/0.5691, allocations: 159.9 kB / 455.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004279/0.5734, allocations: 2.343 MB / 458.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.5734, allocations: 0 / 458.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002974/0.5764, allocations: 1.752 MB / 460 MB, free: 10 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004225/0.5807, allocations: 0.5228 MB / 460.5 MB, free: 9.477 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01384/0.5945, allocations: 7.071 MB / 467.6 MB, free: 2.359 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00286/0.5974, allocations: 2.303 MB / 469.9 MB, free: 28 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001746/0.5992, allocations: 393 kB / 470.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004196/0.5996, allocations: 127.4 kB / 470.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of SimCode: time 9.81e-07/0.5996, allocations: 0 / 470.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of Templates: time 0.05425/0.6539, allocations: 27.52 MB / 497.9 MB, free: 3.969 MB / 382.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/AIMC_Steinmetz/AIMC_Steinmetz.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches