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.002183/0.002183, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.197/2.197, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00115/0.00115, allocations: 94.59 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.298e-05/2.295e-05, allocations: 4 kB / 314.8 MB, free: 9.145 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3248, allocations: 47.57 MB / 362.3 MB, free: 45.86 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1851/0.51, allocations: 114 MB / 476.3 MB, free: 4.246 MB / 363.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003329/0.5104, allocations: 87.95 kB / 476.4 MB, free: 4.16 MB / 363.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.357/1.868, allocations: 217.5 MB / 0.6777 GB, free: 25.91 MB / 411.1 MB Notification: Performance of FrontEnd: time 2.645e-06/1.868, allocations: 0 / 0.6777 GB, free: 25.91 MB / 411.1 MB Notification: Performance of Transformations before backend: time 0.001278/1.869, allocations: 254.4 kB / 0.678 GB, free: 25.89 MB / 411.1 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.04417/1.913, allocations: 9.568 MB / 0.6873 GB, free: 22.81 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.562e-05/1.913, allocations: 8.188 kB / 0.6873 GB, free: 22.81 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01835/1.932, allocations: 2.127 MB / 0.6894 GB, free: 22.21 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03628/1.968, allocations: 8.897 MB / 0.6981 GB, free: 20.96 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009472/1.969, allocations: 339.7 kB / 0.6984 GB, free: 20.96 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004892/1.974, allocations: 0.5827 MB / 0.699 GB, free: 20.95 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03623/2.01, allocations: 10.79 MB / 0.7095 GB, free: 20.91 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04736/2.058, allocations: 12.31 MB / 0.7215 GB, free: 19.79 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007261/2.059, allocations: 15.3 kB / 0.7215 GB, free: 19.79 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004419/2.063, allocations: 14.56 kB / 0.7216 GB, free: 19.79 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000596/2.064, allocations: 455.4 kB / 0.722 GB, free: 19.76 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1166/2.18, allocations: 42.16 MB / 0.7632 GB, free: 3.738 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03743/2.218, allocations: 24.27 MB / 0.7869 GB, free: 14.5 MB / 443.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01202/2.23, allocations: 4.723 MB / 0.7915 GB, free: 12.7 MB / 443.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04096/2.271, allocations: 11.75 MB / 0.8029 GB, free: 4.805 MB / 443.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001188/2.271, allocations: 81.86 kB / 0.803 GB, free: 4.715 MB / 443.1 MB Notification: Performance of pre-optimization done (n=419): time 7.645e-06/2.271, allocations: 0 / 0.803 GB, free: 4.715 MB / 443.1 MB Notification: Performance of matching and sorting (n=425): time 0.04885/2.32, allocations: 13.99 MB / 0.8167 GB, free: 8.418 MB / 459.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.878e-05/2.32, allocations: 94.75 kB / 0.8168 GB, free: 8.312 MB / 459.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01129/2.331, allocations: 3.789 MB / 0.8205 GB, free: 4.98 MB / 459.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001014/2.332, allocations: 25.7 kB / 0.8205 GB, free: 4.949 MB / 459.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004641/2.337, allocations: 4.147 MB / 0.8246 GB, free: 1.191 MB / 459.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.3371/2.674, allocations: 1.354 MB / 0.8259 GB, free: 68.43 MB / 459.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007053/2.675, allocations: 0 / 0.8259 GB, free: 68.43 MB / 459.1 MB Notification: Performance of setup shared object (initialization): time 0.0003849/2.675, allocations: 0.4958 MB / 0.8264 GB, free: 68.11 MB / 459.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005543/2.681, allocations: 2.167 MB / 0.8285 GB, free: 68.09 MB / 459.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006873/2.688, allocations: 3.284 MB / 0.8317 GB, free: 66.83 MB / 459.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008901/2.697, allocations: 3.007 MB / 0.8346 GB, free: 66.79 MB / 459.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.886e-05/2.697, allocations: 9.375 kB / 0.8346 GB, free: 66.79 MB / 459.1 MB Notification: Performance of matching and sorting (n=614) (initialization): time 0.02175/2.719, allocations: 7.239 MB / 0.8417 GB, free: 66.23 MB / 459.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.705e-05/2.719, allocations: 22.16 kB / 0.8417 GB, free: 66.23 MB / 459.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-05/2.719, allocations: 33.88 kB / 0.8418 GB, free: 66.23 MB / 459.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005592/2.725, allocations: 1.428 MB / 0.8431 GB, free: 66.11 MB / 459.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008058/2.733, allocations: 0.9747 MB / 0.8441 GB, free: 66.11 MB / 459.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03135/2.764, allocations: 25.66 MB / 0.8692 GB, free: 49.24 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006385/2.77, allocations: 147.1 kB / 0.8693 GB, free: 49.24 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00133/2.772, allocations: 186.2 kB / 0.8695 GB, free: 49.24 MB / 459.1 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (526): * Single equations (assignments): 510 * 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.002166/2.774, allocations: 239.1 kB / 0.8697 GB, free: 49.13 MB / 459.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001919/2.776, allocations: 0.5153 MB / 0.8702 GB, free: 49.13 MB / 459.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02461/2.801, allocations: 7.526 MB / 0.8776 GB, free: 48.38 MB / 459.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.685e-05/2.801, allocations: 39.78 kB / 0.8776 GB, free: 48.38 MB / 459.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.536e-05/2.801, allocations: 29.66 kB / 0.8776 GB, free: 48.38 MB / 459.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001223/2.801, allocations: 22.2 kB / 0.8776 GB, free: 48.38 MB / 459.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04422/2.845, allocations: 14.91 MB / 0.8922 GB, free: 47.22 MB / 459.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.402e-05/2.845, allocations: 3.625 kB / 0.8922 GB, free: 47.22 MB / 459.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004306/2.85, allocations: 450.7 kB / 0.8926 GB, free: 47.22 MB / 459.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008707/2.858, allocations: 2.175 MB / 0.8948 GB, free: 47.11 MB / 459.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000957/2.859, allocations: 37.56 kB / 0.8948 GB, free: 47.11 MB / 459.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05052/2.91, allocations: 33.28 MB / 0.9273 GB, free: 28.37 MB / 459.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.458e-06/2.91, allocations: 3.906 kB / 0.9273 GB, free: 28.37 MB / 459.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02903/2.939, allocations: 11.28 MB / 0.9383 GB, free: 23.24 MB / 459.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004699/2.944, allocations: 1.123 MB / 0.9394 GB, free: 22.56 MB / 459.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002269/2.946, allocations: 20.2 kB / 0.9394 GB, free: 22.55 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006088/2.952, allocations: 189.8 kB / 0.9396 GB, free: 22.55 MB / 459.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002054/2.954, allocations: 436.8 kB / 0.94 GB, free: 22.49 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008033/2.955, allocations: 117.4 kB / 0.9401 GB, free: 22.46 MB / 459.1 MB Notification: Performance of sorting global known variables: time 0.007566/2.963, allocations: 2.827 MB / 0.9429 GB, free: 21.34 MB / 459.1 MB Notification: Performance of sort global known variables: time 7.61e-07/2.963, allocations: 0 / 0.9429 GB, free: 21.34 MB / 459.1 MB Notification: Performance of remove unused functions: time 0.01129/2.974, allocations: 1.68 MB / 0.9445 GB, free: 21.32 MB / 459.1 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (241): * Single equations (assignments): 228 * 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.001852/2.976, allocations: 486.9 kB / 0.945 GB, free: 21.2 MB / 459.1 MB Notification: Performance of simCode: created initialization part: time 0.01633/2.992, allocations: 7.289 MB / 0.9521 GB, free: 17.43 MB / 459.1 MB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/2.993, allocations: 3.844 kB / 0.9521 GB, free: 17.43 MB / 459.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01302/3.006, allocations: 5.338 MB / 0.9573 GB, free: 14.43 MB / 459.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01024/3.016, allocations: 1.166 MB / 0.9585 GB, free: 14.17 MB / 459.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0462/3.062, allocations: 14.86 MB / 0.973 GB, free: 2.879 MB / 459.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02692/3.089, allocations: 7.146 MB / 0.98 GB, free: 15.96 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002658/3.092, allocations: 346.7 kB / 0.9803 GB, free: 15.64 MB / 475.1 MB Notification: Performance of SimCode: time 1.974e-06/3.092, allocations: 0 / 0.9803 GB, free: 15.64 MB / 475.1 MB Notification: Performance of Templates: time 3.075/6.167, allocations: 0.8178 GB / 1.798 GB, free: 82.45 MB / 0.4952 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