Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start,tolerance=1e-05,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start,tolerance=1e-05,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.007386/0.007386, allocations: 165 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.393/1.393, allocations: 170.8 MB / 186.6 MB, free: 0.9609 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001596/0.001596, allocations: 107.4 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002919/0.000292, allocations: 8 kB / 274.1 MB, free: 10.07 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.21, allocations: 38.76 MB / 312.9 MB, free: 38.88 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3469/0.5569, allocations: 117.1 MB / 430 MB, free: 53.13 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003106/0.5573, allocations: 88.69 kB / 430 MB, free: 53.13 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.603/1.16, allocations: 145.4 MB / 0.5619 GB, free: 32.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.194e-06/1.16, allocations: 3.438 kB / 0.5619 GB, free: 32.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0006603/1.161, allocations: 175.3 kB / 0.5621 GB, free: 32.78 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1699 * Number of variables: 1699 Notification: Performance of Generate backend data structure: time 0.02116/1.182, allocations: 7.088 MB / 0.569 GB, free: 30.49 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/1.182, allocations: 14.11 kB / 0.569 GB, free: 30.49 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006417/1.189, allocations: 0.9867 MB / 0.57 GB, free: 30.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01499/1.204, allocations: 5.255 MB / 0.5751 GB, free: 29.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006506/1.204, allocations: 492.1 kB / 0.5756 GB, free: 29.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002972/1.207, allocations: 0.6323 MB / 0.5762 GB, free: 29.19 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02371/1.231, allocations: 8.907 MB / 0.5849 GB, free: 28.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002533/1.231, allocations: 16.88 kB / 0.5849 GB, free: 28.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001369/1.233, allocations: 277.8 kB / 0.5852 GB, free: 28.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002266/1.233, allocations: 267.1 kB / 0.5855 GB, free: 28.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01842/1.251, allocations: 7.116 MB / 0.5924 GB, free: 28.17 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05136/1.303, allocations: 27.94 MB / 0.6197 GB, free: 20.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006785/1.31, allocations: 5.999 MB / 0.6256 GB, free: 16.49 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004986/1.31, allocations: 157.4 kB / 0.6257 GB, free: 16.39 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.846e-05/1.31, allocations: 72.84 kB / 0.6258 GB, free: 16.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=322): time 5.159e-06/1.31, allocations: 2.516 kB / 0.6258 GB, free: 16.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=341): time 0.03223/1.342, allocations: 16.44 MB / 0.6418 GB, free: 8.309 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.496e-05/1.343, allocations: 89.66 kB / 0.6419 GB, free: 8.242 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005731/1.348, allocations: 3.443 MB / 0.6453 GB, free: 6.969 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000769/1.349, allocations: 82.58 kB / 0.6453 GB, free: 6.895 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00179/1.351, allocations: 2.935 MB / 0.6482 GB, free: 4.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001833/1.353, allocations: 1.142 MB / 0.6493 GB, free: 3.773 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002597/1.353, allocations: 77.16 kB / 0.6494 GB, free: 3.715 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003515/1.353, allocations: 455.9 kB / 0.6498 GB, free: 3.348 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003063/1.356, allocations: 1.914 MB / 0.6517 GB, free: 2.645 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003421/1.36, allocations: 2.757 MB / 0.6544 GB, free: 0.9414 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003307/1.363, allocations: 2.334 MB / 0.6567 GB, free: 15.95 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-05/1.363, allocations: 10.73 kB / 0.6567 GB, free: 15.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=483) (initialization): time 0.0112/1.374, allocations: 6.421 MB / 0.663 GB, free: 13.36 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.994e-05/1.375, allocations: 16.47 kB / 0.663 GB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-05/1.375, allocations: 23.38 kB / 0.663 GB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002855/1.377, allocations: 1.266 MB / 0.6642 GB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003533/1.381, allocations: 0.8241 MB / 0.665 GB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01982/1.401, allocations: 21.14 MB / 0.6857 GB, free: 8.184 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004218/1.405, allocations: 199.5 kB / 0.6859 GB, free: 8.027 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000865/1.406, allocations: 140 kB / 0.686 GB, free: 7.891 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 109 * Number of states: 0 () * Number of discrete variables: 9 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatE.booleanStep[1].y,rheostatE.booleanStep[2].y,rheostatE.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (420): * Single equations (assignments): 406 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(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: 11 {(2,100.0%) 14,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 1,(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.005553/1.412, allocations: 2.135 MB / 0.6881 GB, free: 6.082 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001385/1.413, allocations: 446.6 kB / 0.6885 GB, free: 5.641 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01186/1.425, allocations: 6.235 MB / 0.6946 GB, free: 276 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.27e-05/1.425, allocations: 32 kB / 0.6946 GB, free: 244 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.659e-05/1.425, allocations: 20 kB / 0.6947 GB, free: 224 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.019e-05/1.425, allocations: 17.06 kB / 0.6947 GB, free: 224 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.284/1.709, allocations: 13.08 MB / 0.7074 GB, free: 55.81 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-05/1.709, allocations: 3.688 kB / 0.7074 GB, free: 55.81 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002279/1.711, allocations: 0.4894 MB / 0.7079 GB, free: 55.81 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003972/1.715, allocations: 1.608 MB / 0.7095 GB, free: 55.68 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005508/1.716, allocations: 74.5 kB / 0.7096 GB, free: 55.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02839/1.744, allocations: 30.75 MB / 0.7396 GB, free: 35.31 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.13e-05/1.744, allocations: 10.12 kB / 0.7396 GB, free: 35.31 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01728/1.762, allocations: 9.339 MB / 0.7487 GB, free: 33.8 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003902/1.766, allocations: 0.9371 MB / 0.7496 GB, free: 33.71 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00231/1.768, allocations: 71.86 kB / 0.7497 GB, free: 33.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004013/1.772, allocations: 198.6 kB / 0.7499 GB, free: 33.71 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001203/1.773, allocations: 282.9 kB / 0.7502 GB, free: 33.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005493/1.774, allocations: 94.2 kB / 0.7503 GB, free: 33.7 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00673/1.781, allocations: 2.642 MB / 0.7528 GB, free: 33.52 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.31e-07/1.781, allocations: 0 / 0.7528 GB, free: 33.52 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.009077/1.79, allocations: 1.356 MB / 0.7542 GB, free: 33.52 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 16 (aimsM.stator.zeroInductor.i0,aimsM.stator.core.Phi.re,aimsM.stator.core.Phi.im,aimsM.rotor.zeroInductor.i0,aimsM.rotor.core.Phi.re,aimsM.rotor.core.Phi.im,aimsE.i_0_s,aimsE.idq_sr[1],aimsE.idq_sr[2],aimsE.idq_rr[1],aimsE.idq_rr[2],aimsE.i_0_r,loadInertiaM.w,loadInertiaE.w,quadraticLoadTorqueM.phi,quadraticLoadTorqueE.phi) * Number of discrete variables: 9 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatE.booleanStep[1].y,rheostatE.booleanStep[2].y,rheostatE.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (248): * Single equations (assignments): 231 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 16 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 16 {(2,100.0%) 14,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 1,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 1,(1,100.0%) 8,(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.001695/1.791, allocations: 0.5198 MB / 0.7547 GB, free: 33.41 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01094/1.802, allocations: 6.427 MB / 0.761 GB, free: 31.79 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.477e-06/1.802, allocations: 7.25 kB / 0.761 GB, free: 31.79 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007628/1.81, allocations: 4.887 MB / 0.7657 GB, free: 29.84 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008667/1.819, allocations: 1.247 MB / 0.7669 GB, free: 29.82 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03216/1.851, allocations: 15.51 MB / 0.7821 GB, free: 23.16 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009645/1.861, allocations: 4.509 MB / 0.7865 GB, free: 21.61 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.005589/1.866, allocations: 0.9914 MB / 0.7875 GB, free: 21.52 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001575/1.868, allocations: 267.9 kB / 0.7877 GB, free: 21.51 MB / 394.7 MB Notification: Performance of SimCode: time 1.222e-06/1.868, allocations: 0 / 0.7877 GB, free: 21.51 MB / 394.7 MB Notification: Performance of Templates: time 0.3718/2.24, allocations: 73.48 MB / 0.8595 GB, free: 49.28 MB / 394.7 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.sim & ./Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.pipe 2>&1)