Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009483/0.0009483, allocations: 179.6 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.222/1.222, allocations: 194.5 MB / 211.6 MB, free: 3.039 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00171/0.00171, allocations: 111.2 kB / 256.9 MB, free: 4.371 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003212/0.0003212, allocations: 8 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09435/0.0947, allocations: 44.49 MB / 355.1 MB, free: 2.336 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2936/0.3883, allocations: 110.2 MB / 465.2 MB, free: 12.02 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003116/0.3887, allocations: 88.2 kB / 465.3 MB, free: 11.97 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8806/1.269, allocations: 220.8 MB / 0.67 GB, free: 33.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.194e-06/1.269, allocations: 0 / 0.67 GB, free: 33.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0008632/1.27, allocations: 257.6 kB / 0.6703 GB, free: 33.68 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: 2681 * Number of variables: 2681 Notification: Performance of Generate backend data structure: time 0.03476/1.305, allocations: 10.54 MB / 0.6805 GB, free: 30.13 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/1.305, allocations: 7.5 kB / 0.6805 GB, free: 30.13 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01467/1.32, allocations: 2.137 MB / 0.6826 GB, free: 29.53 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02306/1.343, allocations: 8.947 MB / 0.6914 GB, free: 28.29 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008633/1.344, allocations: 0.7462 MB / 0.6921 GB, free: 28.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004356/1.348, allocations: 0.9845 MB / 0.6931 GB, free: 28.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03316/1.381, allocations: 14.07 MB / 0.7068 GB, free: 27.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003143/1.382, allocations: 10.94 kB / 0.7068 GB, free: 27.09 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002122/1.384, allocations: 425.9 kB / 0.7072 GB, free: 27.09 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005766/1.384, allocations: 456.2 kB / 0.7077 GB, free: 27.06 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03126/1.416, allocations: 11.85 MB / 0.7192 GB, free: 26.96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08117/1.497, allocations: 44.16 MB / 0.7623 GB, free: 8.938 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02326/1.52, allocations: 24.74 MB / 0.7865 GB, free: 3.586 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02144/1.542, allocations: 10.26 MB / 0.7965 GB, free: 15.19 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.066e-05/1.542, allocations: 86.45 kB / 0.7966 GB, free: 15.11 MB / 442.7 MB Notification: Performance of pre-optimization done (n=455): time 6.211e-06/1.542, allocations: 0 / 0.7966 GB, free: 15.11 MB / 442.7 MB Notification: Performance of matching and sorting (n=463): time 0.05336/1.595, allocations: 23.2 MB / 0.8193 GB, free: 456 kB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.187e-05/1.595, allocations: 105 kB / 0.8194 GB, free: 340 kB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2353/1.831, allocations: 4.709 MB / 0.824 GB, free: 61.49 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008969/1.831, allocations: 104.7 kB / 0.8241 GB, free: 61.46 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002449/1.834, allocations: 4.37 MB / 0.8283 GB, free: 61.27 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001418/1.835, allocations: 1.531 MB / 0.8298 GB, free: 60.48 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002587/1.836, allocations: 100.9 kB / 0.8299 GB, free: 60.48 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001938/1.836, allocations: 0.4929 MB / 0.8304 GB, free: 60.17 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003562/1.839, allocations: 2.529 MB / 0.8329 GB, free: 60.15 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003845/1.843, allocations: 3.6 MB / 0.8364 GB, free: 58.98 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003813/1.847, allocations: 3.075 MB / 0.8394 GB, free: 58.94 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.688e-05/1.847, allocations: 11.44 kB / 0.8394 GB, free: 58.94 MB / 442.7 MB Notification: Performance of matching and sorting (n=638) (initialization): time 0.01161/1.859, allocations: 8.347 MB / 0.8476 GB, free: 58.09 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.477e-05/1.859, allocations: 17.47 kB / 0.8476 GB, free: 58.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.925e-05/1.859, allocations: 31.19 kB / 0.8476 GB, free: 58.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00336/1.862, allocations: 1.523 MB / 0.8491 GB, free: 57.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004488/1.867, allocations: 1.031 MB / 0.8501 GB, free: 57.96 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01991/1.887, allocations: 27.57 MB / 0.877 GB, free: 40.01 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00498/1.892, allocations: 245.6 kB / 0.8773 GB, free: 40 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005397/1.892, allocations: 190.4 kB / 0.8774 GB, free: 40 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 138 * 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 (547): * Single equations (assignments): 531 * 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%) 5,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 1,(4,68.8%) 25,(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.006248/1.898, allocations: 3.291 MB / 0.8807 GB, free: 39.88 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001443/1.9, allocations: 0.5804 MB / 0.8812 GB, free: 39.59 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01263/1.913, allocations: 8.371 MB / 0.8894 GB, free: 38.8 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-05/1.913, allocations: 44.03 kB / 0.8894 GB, free: 38.8 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.059e-05/1.913, allocations: 33.11 kB / 0.8895 GB, free: 38.8 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.965e-05/1.913, allocations: 25.45 kB / 0.8895 GB, free: 38.8 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02862/1.941, allocations: 17.87 MB / 0.907 GB, free: 33.51 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.499e-05/1.941, allocations: 6.156 kB / 0.907 GB, free: 33.51 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002124/1.944, allocations: 0.5182 MB / 0.9075 GB, free: 33.49 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004824/1.948, allocations: 2.258 MB / 0.9097 GB, free: 32.79 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003841/1.949, allocations: 104.4 kB / 0.9098 GB, free: 32.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02858/1.977, allocations: 35.54 MB / 0.9445 GB, free: 6.906 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.233e-06/1.977, allocations: 7.344 kB / 0.9445 GB, free: 6.906 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01577/1.993, allocations: 12.55 MB / 0.9567 GB, free: 0.957 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003319/1.997, allocations: 1.255 MB / 0.958 GB, free: 196 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000885/1.997, allocations: 95.86 kB / 0.9581 GB, free: 128 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002543/2, allocations: 266.5 kB / 0.9583 GB, free: 68 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001067/2.001, allocations: 463.6 kB / 0.9588 GB, free: 0 / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004057/2.001, allocations: 130.9 kB / 0.9589 GB, free: 0 / 442.7 MB Notification: Performance of sorting global known variables: time 0.005747/2.007, allocations: 3.607 MB / 0.9624 GB, free: 14.69 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.41e-07/2.007, allocations: 0 / 0.9624 GB, free: 14.69 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00718/2.014, allocations: 1.934 MB / 0.9643 GB, free: 14.21 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (277): * Single equations (assignments): 264 * 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 {(11,49.6%) 56,(1,100.0%) 1,(6,72.2%) 46,(2,100.0%) 12,(1,100.0%) 5,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001109/2.016, allocations: 0.5706 MB / 0.9648 GB, free: 13.8 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01259/2.028, allocations: 8.288 MB / 0.9729 GB, free: 6.383 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.162e-05/2.028, allocations: 4 kB / 0.9729 GB, free: 6.379 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009216/2.037, allocations: 6.01 MB / 0.9788 GB, free: 0.9961 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009071/2.047, allocations: 1.677 MB / 0.9805 GB, free: 0 / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2317/2.278, allocations: 22.38 MB / 1.002 GB, free: 57.22 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006494/2.285, allocations: 6.568 MB / 1.009 GB, free: 56.2 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005007/2.29, allocations: 1.295 MB / 1.01 GB, free: 56.05 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001018/2.291, allocations: 348.4 kB / 1.01 GB, free: 56.05 MB / 458.7 MB Notification: Performance of SimCode: time 7.92e-07/2.291, allocations: 0 / 1.01 GB, free: 56.05 MB / 458.7 MB Notification: Performance of Templates: time 0.1373/2.428, allocations: 97.42 MB / 1.105 GB, free: 27.28 MB / 458.7 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe 2>&1)