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.001394/0.001394, allocations: 109.8 kB / 17.16 MB, free: 6.309 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.001599/0.001599, 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.408/1.408, 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.001193/0.001193, allocations: 44.41 kB / 280 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0826/0.0838, allocations: 46.63 MB / 326.6 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz): time 0.01446/0.09829, allocations: 13.44 MB / 340 MB, free: 7.375 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008199/0.1065, allocations: 4.381 MB / 344.4 MB, free: 2.977 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002297/0.1089, allocations: 67.75 kB / 344.5 MB, free: 2.91 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003324/0.1123, allocations: 0.8628 MB / 345.4 MB, free: 2.043 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004548/0.1168, allocations: 1.181 MB / 346.5 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002658/0.1195, allocations: 0.8421 MB / 347.4 MB, free: 12 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.007142/0.1267, allocations: 4.34 MB / 351.7 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003892/0.1306, allocations: 2.627 MB / 354.3 MB, free: 8.957 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00279/0.1334, allocations: 1.51 MB / 355.9 MB, free: 7.441 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00412/0.1376, allocations: 1.922 MB / 357.8 MB, free: 5.512 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001145/0.1388, allocations: 300 kB / 358.1 MB, free: 5.219 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001847/0.1406, allocations: 0.5075 MB / 358.6 MB, free: 4.711 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009223/0.1416, allocations: 0.8875 MB / 359.5 MB, free: 3.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002592/0.1442, allocations: 1.89 MB / 361.4 MB, free: 1.922 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006681/0.1509, allocations: 6.484 MB / 367.8 MB, free: 11.42 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.804e-06/0.1509, allocations: 0 / 367.8 MB, free: 11.42 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.1509, allocations: 4 kB / 367.8 MB, free: 11.41 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002054/0.1511, allocations: 0 / 367.8 MB, free: 11.41 MB / 318.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.01325/0.1644, allocations: 4.391 MB / 372.2 MB, free: 6.953 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.1645, allocations: 8.031 kB / 372.2 MB, free: 6.945 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005059/0.1695, allocations: 0.8163 MB / 373.1 MB, free: 6.125 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005196/0.1747, allocations: 2.225 MB / 375.3 MB, free: 3.844 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002954/0.1751, allocations: 238.8 kB / 375.5 MB, free: 3.609 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001217/0.1763, allocations: 328 kB / 375.8 MB, free: 3.289 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1818/0.3582, allocations: 4.264 MB / 380.1 MB, free: 47.75 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000183/0.3584, allocations: 7.078 kB / 380.1 MB, free: 47.75 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008253/0.3592, allocations: 132.3 kB / 380.2 MB, free: 47.75 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002217/0.3595, allocations: 148.6 kB / 380.4 MB, free: 47.74 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009668/0.3691, allocations: 3.593 MB / 384 MB, free: 46.54 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03691/0.4061, allocations: 13.88 MB / 397.9 MB, free: 37.8 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007331/0.4135, allocations: 6.569 MB / 404.4 MB, free: 31.56 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003049/0.4166, allocations: 1.394 MB / 405.8 MB, free: 30.89 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007751/0.4244, allocations: 3.635 MB / 409.5 MB, free: 28.25 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.4244, allocations: 51.44 kB / 409.5 MB, free: 28.2 MB / 318.1 MB Notification: Performance of pre-optimization done (n=134): time 4.739e-06/0.4245, allocations: 0 / 409.5 MB, free: 28.2 MB / 318.1 MB Notification: Performance of matching and sorting (n=137): time 0.01492/0.4394, allocations: 5.876 MB / 415.4 MB, free: 24.21 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/0.4395, allocations: 68.72 kB / 415.4 MB, free: 24.13 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003481/0.443, allocations: 1.78 MB / 417.2 MB, free: 22.35 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003255/0.4434, allocations: 49.7 kB / 417.3 MB, free: 22.29 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009685/0.4443, allocations: 1.434 MB / 418.7 MB, free: 20.85 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005295/0.4449, allocations: 489.5 kB / 419.2 MB, free: 20.38 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005585/0.4454, allocations: 319.2 kB / 419.5 MB, free: 20.06 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.099e-05/0.4455, allocations: 301.1 kB / 419.8 MB, free: 19.76 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001372/0.4469, allocations: 0.6754 MB / 420.5 MB, free: 19.09 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001576/0.4485, allocations: 1.201 MB / 421.7 MB, free: 17.66 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003114/0.4516, allocations: 2.005 MB / 423.7 MB, free: 15.44 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.184e-05/0.4516, allocations: 4 kB / 423.7 MB, free: 15.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.00543/0.4571, allocations: 2.539 MB / 426.2 MB, free: 12.85 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.945e-05/0.4572, allocations: 12 kB / 426.2 MB, free: 12.84 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.315e-05/0.4572, allocations: 16 kB / 426.2 MB, free: 12.82 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00127/0.4585, allocations: 366.5 kB / 426.6 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001943/0.4604, allocations: 379.4 kB / 427 MB, free: 12.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007884/0.4683, allocations: 7.697 MB / 434.7 MB, free: 3.875 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002085/0.4705, allocations: 83.94 kB / 434.7 MB, free: 3.793 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001966/0.4707, allocations: 71.98 kB / 434.8 MB, free: 3.723 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 (idealOpener.control,idealCloser.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 (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 {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002405/0.4731, allocations: 1.001 MB / 435.8 MB, free: 2.711 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005417/0.4737, allocations: 197.6 kB / 436 MB, free: 2.516 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004989/0.4787, allocations: 2.293 MB / 438.3 MB, free: 160 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-05/0.4787, allocations: 12 kB / 438.3 MB, free: 148 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.8e-05/0.4788, allocations: 8 kB / 438.3 MB, free: 140 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.649e-05/0.4788, allocations: 7.969 kB / 438.3 MB, free: 132 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0121/0.4909, allocations: 5.071 MB / 443.4 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.149e-05/0.491, allocations: 8.219 kB / 443.4 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001194/0.4922, allocations: 179.7 kB / 443.6 MB, free: 10.76 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002087/0.4943, allocations: 0.5361 MB / 444.1 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001647/0.4945, allocations: 39.92 kB / 444.2 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01668/0.5111, allocations: 12.08 MB / 456.2 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.5112, allocations: 3.984 kB / 456.2 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008238/0.5194, allocations: 3.216 MB / 459.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001432/0.5209, allocations: 430.6 kB / 459.9 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000492/0.5214, allocations: 34.62 kB / 459.9 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001483/0.5229, allocations: 67.94 kB / 460 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003989/0.5233, allocations: 105.1 kB / 460.1 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000128/0.5235, allocations: 35.98 kB / 460.1 MB, free: 9.348 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002765/0.5263, allocations: 1.223 MB / 461.3 MB, free: 8.133 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.074e-06/0.5263, allocations: 96 / 461.3 MB, free: 8.133 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003431/0.5297, allocations: 0.5845 MB / 461.9 MB, free: 7.551 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004759/0.5302, allocations: 162.4 kB / 462.1 MB, free: 7.387 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.005484/0.5357, allocations: 2.347 MB / 464.4 MB, free: 4.973 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.5358, allocations: 4.438 kB / 464.4 MB, free: 4.969 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003356/0.5391, allocations: 1.749 MB / 466.2 MB, free: 3.148 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00374/0.5429, allocations: 0.512 MB / 466.7 MB, free: 2.637 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01513/0.558, allocations: 7.228 MB / 473.9 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002871/0.5609, allocations: 2.307 MB / 476.2 MB, free: 9.023 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00231/0.5633, allocations: 405 kB / 476.6 MB, free: 8.629 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004429/0.5637, allocations: 119.4 kB / 476.7 MB, free: 8.512 MB / 366.1 MB Notification: Performance of SimCode: time 7.41e-07/0.5637, allocations: 0 / 476.7 MB, free: 8.512 MB / 366.1 MB Notification: Performance of Templates: time 0.0556/0.6193, allocations: 28.59 MB / 0.4935 GB, free: 11.89 MB / 398.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