Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.0009638/0.0009638, allocations: 182.8 kB / 18.04 MB, free: 3.637 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.326/1.326, allocations: 205.4 MB / 224.2 MB, free: 9.023 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.0007038/0.0007038, allocations: 90.34 kB / 272.5 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004283/0.0004283, allocations: 8 kB / 329.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.2192, allocations: 47.57 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1261/0.3454, allocations: 115 MB / 492.1 MB, free: 13.44 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002945/0.3458, allocations: 87.95 kB / 492.1 MB, free: 13.36 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8035/1.149, allocations: 219.7 MB / 0.6952 GB, free: 47.18 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.004e-06/1.149, allocations: 3.75 kB / 0.6952 GB, free: 47.18 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0009376/1.15, allocations: 251.5 kB / 0.6954 GB, free: 47.15 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.03093/1.181, allocations: 10.43 MB / 0.7056 GB, free: 43.39 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/1.181, allocations: 7.469 kB / 0.7056 GB, free: 43.39 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01133/1.193, allocations: 2.138 MB / 0.7077 GB, free: 42.79 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0214/1.214, allocations: 8.4 MB / 0.7159 GB, free: 41.34 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000841/1.215, allocations: 0.7413 MB / 0.7166 GB, free: 41.32 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003505/1.219, allocations: 0.9861 MB / 0.7176 GB, free: 41.31 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03566/1.254, allocations: 14.16 MB / 0.7314 GB, free: 40.14 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004958/1.255, allocations: 15.44 kB / 0.7314 GB, free: 40.13 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003113/1.258, allocations: 424.9 kB / 0.7318 GB, free: 40.13 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003857/1.258, allocations: 454.1 kB / 0.7323 GB, free: 40.11 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02666/1.285, allocations: 11.85 MB / 0.7438 GB, free: 36.29 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08732/1.372, allocations: 44.18 MB / 0.787 GB, free: 4.219 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2503/1.623, allocations: 25.3 MB / 0.8117 GB, free: 53.32 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008309/1.631, allocations: 5.073 MB / 0.8166 GB, free: 53.25 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02182/1.653, allocations: 12.17 MB / 0.8285 GB, free: 52.41 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.563e-05/1.653, allocations: 83.27 kB / 0.8286 GB, free: 52.36 MB / 442.7 MB Notification: Performance of pre-optimization done (n=423): time 6.502e-06/1.653, allocations: 0 / 0.8286 GB, free: 52.36 MB / 442.7 MB Notification: Performance of matching and sorting (n=429): time 0.04771/1.701, allocations: 22.05 MB / 0.8501 GB, free: 49.24 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/1.701, allocations: 93.78 kB / 0.8502 GB, free: 49.18 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007779/1.709, allocations: 5.331 MB / 0.8554 GB, free: 48.83 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007589/1.709, allocations: 98.02 kB / 0.8555 GB, free: 48.8 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002519/1.712, allocations: 4.437 MB / 0.8598 GB, free: 47.13 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001603/1.713, allocations: 1.431 MB / 0.8612 GB, free: 46.22 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002926/1.714, allocations: 95.12 kB / 0.8613 GB, free: 46.22 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000237/1.714, allocations: 498.9 kB / 0.8618 GB, free: 45.91 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003508/1.718, allocations: 2.41 MB / 0.8642 GB, free: 45.89 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003822/1.721, allocations: 3.594 MB / 0.8677 GB, free: 44.57 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007348/1.729, allocations: 6.224 MB / 0.8738 GB, free: 42.31 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-05/1.729, allocations: 10.16 kB / 0.8738 GB, free: 42.31 MB / 442.7 MB Notification: Performance of matching and sorting (n=618) (initialization): time 0.01206/1.741, allocations: 8.123 MB / 0.8817 GB, free: 39 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.824e-05/1.741, allocations: 20 kB / 0.8817 GB, free: 39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.439e-05/1.741, allocations: 37.97 kB / 0.8818 GB, free: 39 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002956/1.744, allocations: 1.477 MB / 0.8832 GB, free: 38.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003585/1.748, allocations: 0.9905 MB / 0.8842 GB, free: 38.44 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01862/1.766, allocations: 26.74 MB / 0.9103 GB, free: 16.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004898/1.771, allocations: 230.6 kB / 0.9105 GB, free: 16.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000633/1.772, allocations: 195 kB / 0.9107 GB, free: 16.1 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.006265/1.778, allocations: 3.29 MB / 0.9139 GB, free: 14.53 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001286/1.779, allocations: 0.5767 MB / 0.9145 GB, free: 14.23 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01178/1.791, allocations: 7.987 MB / 0.9223 GB, free: 10.76 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.352e-05/1.791, allocations: 40.88 kB / 0.9223 GB, free: 10.76 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.642e-05/1.791, allocations: 32.72 kB / 0.9223 GB, free: 10.76 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.815e-05/1.791, allocations: 22.03 kB / 0.9224 GB, free: 10.76 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02844/1.82, allocations: 16.7 MB / 0.9387 GB, free: 3.742 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.484e-05/1.82, allocations: 3.906 kB / 0.9387 GB, free: 3.742 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002/1.822, allocations: 461.2 kB / 0.9391 GB, free: 3.598 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004627/1.826, allocations: 2.255 MB / 0.9413 GB, free: 1.789 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004591/1.827, allocations: 95.17 kB / 0.9414 GB, free: 1.703 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03529/1.862, allocations: 34.67 MB / 0.9753 GB, free: 484 kB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/1.862, allocations: 8.094 kB / 0.9753 GB, free: 476 kB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2781/2.14, allocations: 12.12 MB / 0.9871 GB, free: 77.72 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004255/2.145, allocations: 1.209 MB / 0.9883 GB, free: 77.63 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002056/2.147, allocations: 82.03 kB / 0.9884 GB, free: 77.63 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004041/2.151, allocations: 259.1 kB / 0.9886 GB, free: 77.63 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001723/2.153, allocations: 447 kB / 0.989 GB, free: 77.62 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005933/2.153, allocations: 114.8 kB / 0.9891 GB, free: 77.62 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.007323/2.16, allocations: 3.626 MB / 0.9927 GB, free: 77.45 MB / 474.7 MB Notification: Performance of sort global known variables: time 2e-07/2.16, allocations: 3.375 kB / 0.9927 GB, free: 77.45 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009308/2.17, allocations: 1.905 MB / 0.9946 GB, free: 77.45 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.001403/2.171, allocations: 0.5505 MB / 0.9951 GB, free: 77.35 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01248/2.184, allocations: 7.986 MB / 1.003 GB, free: 75.47 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/2.184, allocations: 4.875 kB / 1.003 GB, free: 75.47 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009553/2.193, allocations: 5.806 MB / 1.009 GB, free: 73.84 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01297/2.206, allocations: 1.639 MB / 1.01 GB, free: 73.82 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0377/2.244, allocations: 22.13 MB / 1.032 GB, free: 64.9 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00937/2.253, allocations: 6.374 MB / 1.038 GB, free: 63.88 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005769/2.259, allocations: 1.277 MB / 1.039 GB, free: 63.74 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001375/2.261, allocations: 345.2 kB / 1.04 GB, free: 63.73 MB / 474.7 MB Notification: Performance of SimCode: time 1.974e-06/2.261, allocations: 0 / 1.04 GB, free: 63.73 MB / 474.7 MB Notification: Performance of Templates: time 0.1519/2.413, allocations: 97.56 MB / 1.135 GB, free: 8.395 MB / 474.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches