Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_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.AIMS_Start_MultiPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc3.is.1.|aimc3.is.2.|aims3.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aims3.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aims3.rotor.zeroInductor.i0|aims3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aims3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.is.1.|aimcM.is.2.|aimcM.is.3.|aimcM.is.4.|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimsM.rotor.zeroInductor.i0|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc3.is.1.|aimc3.is.2.|aims3.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aims3.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aims3.rotor.zeroInductor.i0|aims3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aims3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.is.1.|aimcM.is.2.|aimcM.is.3.|aimcM.is.4.|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimsM.rotor.zeroInductor.i0|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008943/0.0008944, allocations: 182.5 kB / 17.41 MB, free: 4.387 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.289/1.289, allocations: 205.4 MB / 223.6 MB, free: 8.941 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007598/0.0007601, allocations: 98.97 kB / 271.9 MB, free: 8.238 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003219/0.000322, allocations: 11.98 kB / 328.2 MB, free: 15.92 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2145, allocations: 47.56 MB / 375.7 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1228/0.3374, allocations: 115 MB / 490.8 MB, free: 13.54 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003085/0.3377, allocations: 87.95 kB / 490.8 MB, free: 13.45 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8214/1.159, allocations: 219.7 MB / 0.6939 GB, free: 46.99 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.146e-06/1.159, allocations: 0 / 0.6939 GB, free: 46.99 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.001342/1.161, allocations: 256.1 kB / 0.6941 GB, free: 46.96 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2681 * Number of variables: 2681 Notification: Performance of Generate backend data structure: time 0.03479/1.195, allocations: 10.43 MB / 0.7043 GB, free: 43.2 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/1.195, allocations: 11.25 kB / 0.7043 GB, free: 43.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01225/1.208, allocations: 2.134 MB / 0.7064 GB, free: 42.6 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02199/1.23, allocations: 8.403 MB / 0.7146 GB, free: 41.16 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009636/1.231, allocations: 0.7437 MB / 0.7153 GB, free: 41.14 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00459/1.235, allocations: 0.9859 MB / 0.7163 GB, free: 41.12 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04286/1.278, allocations: 14.15 MB / 0.7301 GB, free: 39.95 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006552/1.279, allocations: 14.62 kB / 0.7301 GB, free: 39.95 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004369/1.283, allocations: 431.6 kB / 0.7306 GB, free: 39.95 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004472/1.284, allocations: 451.4 kB / 0.731 GB, free: 39.92 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03014/1.314, allocations: 11.85 MB / 0.7426 GB, free: 36.24 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09253/1.406, allocations: 44.19 MB / 0.7857 GB, free: 4.406 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2924/1.699, allocations: 25.22 MB / 0.8103 GB, free: 53.27 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009032/1.708, allocations: 5.075 MB / 0.8153 GB, free: 53.21 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02569/1.734, allocations: 12.16 MB / 0.8272 GB, free: 52.36 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.045e-05/1.734, allocations: 81.86 kB / 0.8272 GB, free: 52.32 MB / 442.7 MB Notification: Performance of pre-optimization done (n=423): time 6.482e-06/1.734, allocations: 0 / 0.8272 GB, free: 52.32 MB / 442.7 MB Notification: Performance of matching and sorting (n=429): time 0.04982/1.784, allocations: 22.05 MB / 0.8488 GB, free: 49.2 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.662e-05/1.784, allocations: 96.03 kB / 0.8489 GB, free: 49.13 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009835/1.794, allocations: 5.334 MB / 0.8541 GB, free: 48.78 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001023/1.795, allocations: 94.92 kB / 0.8542 GB, free: 48.75 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003464/1.798, allocations: 4.439 MB / 0.8585 GB, free: 47.08 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00199/1.8, allocations: 1.429 MB / 0.8599 GB, free: 46.17 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003652/1.801, allocations: 93.59 kB / 0.86 GB, free: 46.17 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002712/1.801, allocations: 0.4905 MB / 0.8605 GB, free: 45.86 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003829/1.805, allocations: 2.419 MB / 0.8628 GB, free: 45.84 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004637/1.809, allocations: 3.585 MB / 0.8663 GB, free: 44.52 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009234/1.819, allocations: 6.225 MB / 0.8724 GB, free: 42.42 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.874e-05/1.819, allocations: 15.38 kB / 0.8724 GB, free: 42.42 MB / 442.7 MB Notification: Performance of matching and sorting (n=618) (initialization): time 0.01458/1.833, allocations: 8.121 MB / 0.8804 GB, free: 39.11 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.786e-05/1.833, allocations: 20.69 kB / 0.8804 GB, free: 39.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-05/1.833, allocations: 36.56 kB / 0.8804 GB, free: 39.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003387/1.837, allocations: 1.482 MB / 0.8819 GB, free: 38.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004426/1.841, allocations: 0.9888 MB / 0.8828 GB, free: 38.55 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01978/1.861, allocations: 26.74 MB / 0.9089 GB, free: 16.33 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00583/1.867, allocations: 234 kB / 0.9092 GB, free: 16.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001104/1.868, allocations: 190.8 kB / 0.9093 GB, free: 16.21 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 152 * Number of states: 0 () * Number of discrete variables: 16 (rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[4].y,rheostatM.booleanStep[5].y,rheostat3.booleanStep[1].y,rheostat3.booleanStep[2].y,rheostat3.booleanStep[3].y,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (530): * Single equations (assignments): 514 * 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: 14 * 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: 14 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 1,(4,68.8%) 22,(2,100.0%) 6,(2,100.0%) 6,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009815/1.878, allocations: 3.29 MB / 0.9126 GB, free: 14.64 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001915/1.88, allocations: 0.5755 MB / 0.9131 GB, free: 14.34 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01424/1.894, allocations: 7.986 MB / 0.9209 GB, free: 10.87 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.7e-05/1.894, allocations: 40.06 kB / 0.921 GB, free: 10.87 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.169e-05/1.894, allocations: 35.28 kB / 0.921 GB, free: 10.86 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-05/1.894, allocations: 20.3 kB / 0.921 GB, free: 10.86 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03565/1.93, allocations: 16.71 MB / 0.9373 GB, free: 3.852 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.635e-05/1.93, allocations: 3.906 kB / 0.9373 GB, free: 3.852 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002193/1.932, allocations: 448.7 kB / 0.9378 GB, free: 3.699 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00515/1.937, allocations: 2.274 MB / 0.94 GB, free: 1.879 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006572/1.938, allocations: 89.77 kB / 0.9401 GB, free: 1.797 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03688/1.975, allocations: 34.67 MB / 0.9739 GB, free: 0.5547 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.346e-06/1.975, allocations: 10.88 kB / 0.9739 GB, free: 0.5508 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2823/2.257, allocations: 12.09 MB / 0.9857 GB, free: 77.71 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003627/2.261, allocations: 1.204 MB / 0.9869 GB, free: 77.61 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001523/2.263, allocations: 87.22 kB / 0.987 GB, free: 77.61 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003572/2.266, allocations: 263.9 kB / 0.9872 GB, free: 77.61 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001311/2.268, allocations: 433.7 kB / 0.9877 GB, free: 77.61 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003304/2.268, allocations: 118.9 kB / 0.9878 GB, free: 77.61 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006387/2.274, allocations: 3.632 MB / 0.9913 GB, free: 77.43 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.4e-07/2.274, allocations: 0 / 0.9913 GB, free: 77.43 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008408/2.283, allocations: 1.905 MB / 0.9932 GB, free: 77.43 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 14 (aimsM.stator.core.Phi.re,aimsM.stator.core.Phi.im,aimsM.rotor.core.Phi.re,aimsM.rotor.core.Phi.im,aimsM.rotor.zeroInductor.i0,aims3.stator.core.Phi.re,aims3.stator.core.Phi.im,aims3.rotor.core.Phi.re,aims3.rotor.core.Phi.im,aims3.rotor.zeroInductor.i0,loadInertiaM.w,loadInertia3.w,quadraticLoadTorqueM.phi,quadraticLoadTorque3.phi) * Number of discrete variables: 16 (rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[4].y,rheostatM.booleanStep[5].y,rheostat3.booleanStep[1].y,rheostat3.booleanStep[2].y,rheostat3.booleanStep[3].y,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (245): * Single equations (assignments): 232 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 5,(6,72.2%) 46,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(11,49.6%) 56,(1,100.0%) 8,(1,100.0%) 8,(2,100.0%) 12,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001329/2.284, allocations: 0.5473 MB / 0.9937 GB, free: 77.33 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01247/2.297, allocations: 7.988 MB / 1.002 GB, free: 75.45 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.331e-05/2.297, allocations: 1.875 kB / 1.002 GB, free: 75.45 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01056/2.307, allocations: 5.796 MB / 1.007 GB, free: 73.83 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01435/2.322, allocations: 1.643 MB / 1.009 GB, free: 73.81 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03922/2.361, allocations: 22.05 MB / 1.03 GB, free: 64.91 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008998/2.37, allocations: 6.207 MB / 1.036 GB, free: 63.94 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00181/2.372, allocations: 373.9 kB / 1.037 GB, free: 63.94 MB / 474.7 MB Notification: Performance of SimCode: time 8.32e-07/2.372, allocations: 0 / 1.037 GB, free: 63.94 MB / 474.7 MB Notification: Performance of Templates: time 2.008/4.38, allocations: 0.8835 GB / 1.92 GB, free: 98.69 MB / 0.4948 GB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/AIMS_Start_MultiPhase/AIMS_Start_MultiPhase.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches