Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc3.is.1.|aimc3.is.2.|aimc3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc3.stator.strayReluctance.port_p.Phi.im|aimc3.stator.strayReluctance.port_p.Phi.re|aimcM.is.1.|aimcM.is.2.|aimcM.is.3.|aimcM.is.4.|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.stator.strayReluctance.port_p.Phi.im|aimcM.stator.strayReluctance.port_p.Phi.re|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc3.is.1.|aimc3.is.2.|aimc3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc3.stator.strayReluctance.port_p.Phi.im|aimc3.stator.strayReluctance.port_p.Phi.re|aimcM.is.1.|aimcM.is.2.|aimcM.is.3.|aimcM.is.4.|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.stator.strayReluctance.port_p.Phi.im|aimcM.stator.strayReluctance.port_p.Phi.re|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001302/0.001302, allocations: 178.4 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.391/1.391, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008697/0.0008697, allocations: 82.72 kB / 262.4 MB, free: 1.68 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.182e-05/1.183e-05, allocations: 7.984 kB / 315.5 MB, free: 22.7 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09005/0.09007, allocations: 47.59 MB / 363.1 MB, free: 7.059 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3516/0.4417, allocations: 111.4 MB / 474.5 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002684/0.442, allocations: 85.77 kB / 474.6 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6035/1.045, allocations: 180.4 MB / 0.6397 GB, free: 44.54 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.266e-06/1.046, allocations: 4 kB / 0.6397 GB, free: 44.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0008319/1.046, allocations: 197.9 kB / 0.6399 GB, free: 44.35 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2135 * Number of variables: 2135 Notification: Performance of Generate backend data structure: time 0.02255/1.069, allocations: 7.596 MB / 0.6473 GB, free: 36.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/1.069, allocations: 8.031 kB / 0.6473 GB, free: 36.67 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01061/1.08, allocations: 1.828 MB / 0.6491 GB, free: 34.83 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01711/1.097, allocations: 6.946 MB / 0.6558 GB, free: 27.92 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005201/1.097, allocations: 264 kB / 0.6561 GB, free: 27.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003107/1.1, allocations: 479.8 kB / 0.6566 GB, free: 27.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01835/1.119, allocations: 8.514 MB / 0.6649 GB, free: 18.67 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02403/1.143, allocations: 9.612 MB / 0.6743 GB, free: 8.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002674/1.143, allocations: 7.906 kB / 0.6743 GB, free: 8.812 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001677/1.145, allocations: 4 kB / 0.6743 GB, free: 8.809 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002761/1.145, allocations: 372.2 kB / 0.6746 GB, free: 8.441 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2995/1.445, allocations: 32.98 MB / 0.7068 GB, free: 45.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01668/1.461, allocations: 19.48 MB / 0.7259 GB, free: 31.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005245/1.467, allocations: 3.459 MB / 0.7292 GB, free: 31.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01472/1.481, allocations: 9.13 MB / 0.7382 GB, free: 30.15 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.596e-05/1.482, allocations: 77.64 kB / 0.7382 GB, free: 30.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=315): time 4.939e-06/1.482, allocations: 2.406 kB / 0.7382 GB, free: 30.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=321): time 0.01811/1.5, allocations: 10.42 MB / 0.7484 GB, free: 28.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/1.5, allocations: 83.34 kB / 0.7485 GB, free: 28.13 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004203/1.504, allocations: 3.143 MB / 0.7515 GB, free: 27.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002578/1.504, allocations: 32.8 kB / 0.7516 GB, free: 27.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001783/1.506, allocations: 3.539 MB / 0.755 GB, free: 24.54 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007965/1.507, allocations: 1.042 MB / 0.7561 GB, free: 23.72 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001747/1.507, allocations: 0 / 0.7561 GB, free: 23.72 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001764/1.507, allocations: 465 kB / 0.7565 GB, free: 23.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001963/1.509, allocations: 1.607 MB / 0.7581 GB, free: 22.67 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00236/1.512, allocations: 2.615 MB / 0.7606 GB, free: 20.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003356/1.515, allocations: 2.401 MB / 0.763 GB, free: 19.86 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.732e-05/1.515, allocations: 13.38 kB / 0.763 GB, free: 19.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=490) (initialization): time 0.008218/1.523, allocations: 5.606 MB / 0.7685 GB, free: 17.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.315e-05/1.523, allocations: 17.97 kB / 0.7685 GB, free: 17.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.207e-05/1.523, allocations: 36.72 kB / 0.7685 GB, free: 17.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001701/1.525, allocations: 0.78 MB / 0.7693 GB, free: 17.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002865/1.528, allocations: 0.8004 MB / 0.77 GB, free: 17.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01034/1.538, allocations: 14.27 MB / 0.784 GB, free: 6.062 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00355/1.542, allocations: 114.6 kB / 0.7841 GB, free: 6.055 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004351/1.542, allocations: 161.8 kB / 0.7843 GB, free: 6.023 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 142 * Number of states: 0 () * Number of discrete variables: 8 (booleanStepM[1].y,booleanStepM[2].y,booleanStepM[3].y,booleanStepM[4].y,booleanStepM[5].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (427): * Single equations (assignments): 418 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 5,(1,100.0%) 1,(3,100.0%) 23,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2,(4,56.2%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006319/1.543, allocations: 216 kB / 0.7845 GB, free: 5.883 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007185/1.544, allocations: 410.3 kB / 0.7848 GB, free: 5.672 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008676/1.552, allocations: 5.378 MB / 0.7901 GB, free: 3.473 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.323e-05/1.552, allocations: 29.84 kB / 0.7901 GB, free: 3.473 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-05/1.552, allocations: 21.03 kB / 0.7902 GB, free: 3.473 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.674e-05/1.552, allocations: 15.19 kB / 0.7902 GB, free: 3.473 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01879/1.571, allocations: 11.27 MB / 0.8012 GB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.301e-05/1.571, allocations: 3.688 kB / 0.8012 GB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00167/1.573, allocations: 370.4 kB / 0.8015 GB, free: 14.69 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004091/1.577, allocations: 1.334 MB / 0.8028 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005607/1.578, allocations: 45.19 kB / 0.8029 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02661/1.604, allocations: 23.12 MB / 0.8255 GB, free: 7.332 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/1.604, allocations: 4 kB / 0.8255 GB, free: 7.328 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01337/1.618, allocations: 8.142 MB / 0.8334 GB, free: 0 / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002544/1.62, allocations: 0.8936 MB / 0.8343 GB, free: 15.18 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001187/1.622, allocations: 33.22 kB / 0.8343 GB, free: 15.15 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002828/1.624, allocations: 135 kB / 0.8344 GB, free: 15.05 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009153/1.625, allocations: 322.4 kB / 0.8347 GB, free: 14.86 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002378/1.626, allocations: 95.36 kB / 0.8348 GB, free: 14.77 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004858/1.63, allocations: 2.348 MB / 0.8371 GB, free: 12.71 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.11e-07/1.63, allocations: 0 / 0.8371 GB, free: 12.71 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006842/1.637, allocations: 1.296 MB / 0.8384 GB, free: 11.42 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 12 (aimcM.inertiaRotor.w,aimcM.stator.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.re,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.im,quadraticLoadTorqueM.phi,aimc3.inertiaRotor.w,aimc3.stator.core.Phi.re,aimc3.stator.core.Phi.im,aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque3.phi) * Number of discrete variables: 8 (booleanStepM[1].y,booleanStepM[2].y,booleanStepM[3].y,booleanStepM[4].y,booleanStepM[5].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (193): * Single equations (assignments): 184 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 12,(1,100.0%) 1,(6,72.2%) 46,(3,100.0%) 23,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009484/1.638, allocations: 433.6 kB / 0.8388 GB, free: 11.07 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007996/1.646, allocations: 5.097 MB / 0.8438 GB, free: 6.266 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-05/1.646, allocations: 4 kB / 0.8438 GB, free: 6.262 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005976/1.652, allocations: 3.794 MB / 0.8475 GB, free: 2.754 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006175/1.659, allocations: 0.8355 MB / 0.8483 GB, free: 2.09 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3151/1.974, allocations: 11.63 MB / 0.8597 GB, free: 85.46 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007352/1.981, allocations: 5.24 MB / 0.8648 GB, free: 84.61 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005039/1.986, allocations: 0.9324 MB / 0.8657 GB, free: 84.5 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009769/1.987, allocations: 253.8 kB / 0.8659 GB, free: 84.5 MB / 458.7 MB Notification: Performance of SimCode: time 1.072e-06/1.987, allocations: 0 / 0.8659 GB, free: 84.5 MB / 458.7 MB Notification: Performance of Templates: time 0.1063/2.093, allocations: 56.33 MB / 0.921 GB, free: 81.03 MB / 458.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase_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_DOL_MultiPhase/AIMC_DOL_MultiPhase.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches