Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.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.AIMC_DOL_MultiPhase,tolerance=1e-05,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase,tolerance=1e-05,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001335/0.001335, allocations: 156.2 kB / 7.633 MB, free: 1.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.126/1.126, allocations: 170.6 MB / 178.7 MB, free: 7.055 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.001571/0.001571, allocations: 105.7 kB / 218 MB, free: 15.33 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.662e-05/1.666e-05, allocations: 4 kB / 262.2 MB, free: 3.062 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2044, allocations: 38.77 MB / 301 MB, free: 39.12 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1072/0.3117, allocations: 98.69 MB / 399.7 MB, free: 12.89 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/0.3119, allocations: 82.77 kB / 399.8 MB, free: 12.81 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.767/1.079, allocations: 173.4 MB / 0.5597 GB, free: 25.57 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.12e-07/1.079, allocations: 0 / 0.5597 GB, free: 25.57 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005919/1.08, allocations: 195.7 kB / 0.5599 GB, free: 25.55 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2059 * Number of variables: 2059 Notification: Performance of Generate backend data structure: time 0.02381/1.103, allocations: 7.509 MB / 0.5672 GB, free: 23.26 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.143e-05/1.104, allocations: 14 kB / 0.5673 GB, free: 23.26 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008849/1.112, allocations: 1.294 MB / 0.5685 GB, free: 22.8 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01273/1.125, allocations: 5.803 MB / 0.5742 GB, free: 21.88 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005122/1.126, allocations: 252.8 kB / 0.5744 GB, free: 21.88 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00277/1.129, allocations: 471.1 kB / 0.5749 GB, free: 21.87 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01922/1.148, allocations: 7.74 MB / 0.5824 GB, free: 21.84 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02989/1.178, allocations: 9.171 MB / 0.5914 GB, free: 21.04 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000285/1.178, allocations: 9.156 kB / 0.5914 GB, free: 21.04 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001605/1.18, allocations: 10.97 kB / 0.5914 GB, free: 21.04 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002533/1.18, allocations: 338.8 kB / 0.5917 GB, free: 21.02 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05785/1.238, allocations: 31.22 MB / 0.6222 GB, free: 13.28 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008386/1.246, allocations: 7.898 MB / 0.6299 GB, free: 7.484 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005046/1.251, allocations: 3.39 MB / 0.6332 GB, free: 6.207 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002316/1.252, allocations: 42.86 kB / 0.6333 GB, free: 6.203 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.697e-05/1.252, allocations: 77.36 kB / 0.6334 GB, free: 6.133 MB / 346.7 MB Notification: Performance of pre-optimization done (n=351): time 8.115e-06/1.252, allocations: 0 / 0.6334 GB, free: 6.133 MB / 346.7 MB Notification: Performance of matching and sorting (n=415): time 0.02521/1.277, allocations: 13.34 MB / 0.6464 GB, free: 16 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.339e-05/1.277, allocations: 91.08 kB / 0.6465 GB, free: 15.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005479/1.282, allocations: 3.068 MB / 0.6495 GB, free: 14.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005886/1.283, allocations: 33.11 kB / 0.6495 GB, free: 14.74 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002519/1.286, allocations: 3.35 MB / 0.6528 GB, free: 12.21 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001512/1.287, allocations: 1.33 MB / 0.6541 GB, free: 11.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002036/1.287, allocations: 0 / 0.6541 GB, free: 11.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003569/1.288, allocations: 478.6 kB / 0.6545 GB, free: 10.78 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003186/1.291, allocations: 1.968 MB / 0.6564 GB, free: 9.926 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003702/1.295, allocations: 2.888 MB / 0.6593 GB, free: 7.965 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003322/1.298, allocations: 2.51 MB / 0.6617 GB, free: 6.887 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.691e-05/1.298, allocations: 15.38 kB / 0.6617 GB, free: 6.883 MB / 362.7 MB Notification: Performance of matching and sorting (n=554) (initialization): time 0.01093/1.309, allocations: 6.575 MB / 0.6682 GB, free: 2.172 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.533e-05/1.309, allocations: 23.16 kB / 0.6682 GB, free: 2.152 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.993e-05/1.309, allocations: 24 kB / 0.6682 GB, free: 2.129 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00338/1.312, allocations: 1.446 MB / 0.6696 GB, free: 0.8906 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003776/1.316, allocations: 0.8298 MB / 0.6704 GB, free: 236 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2964/1.613, allocations: 19.47 MB / 0.6894 GB, free: 47.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00466/1.617, allocations: 96.39 kB / 0.6895 GB, free: 47.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006858/1.618, allocations: 163.2 kB / 0.6897 GB, free: 47.8 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 120 * Number of states: 0 () * Number of discrete variables: 8 (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 (437): * Single equations (assignments): 429 * 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: 6 * 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: 6 {(4,100.0%) 29,(1,100.0%) 5,(1,100.0%) 1,(6,77.8%) 43,(1,100.0%) 1,(4,56.2%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007924/1.619, allocations: 198.2 kB / 0.6899 GB, free: 47.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009197/1.62, allocations: 434 kB / 0.6903 GB, free: 47.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01011/1.63, allocations: 6.587 MB / 0.6967 GB, free: 47.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.047e-05/1.63, allocations: 37.38 kB / 0.6968 GB, free: 47.04 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.353e-05/1.63, allocations: 27.12 kB / 0.6968 GB, free: 47.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.483e-05/1.63, allocations: 20.95 kB / 0.6968 GB, free: 47.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02803/1.658, allocations: 15.95 MB / 0.7124 GB, free: 45.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.818e-05/1.658, allocations: 11.25 kB / 0.7124 GB, free: 45.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002014/1.66, allocations: 485.7 kB / 0.7129 GB, free: 45.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004073/1.664, allocations: 1.765 MB / 0.7146 GB, free: 45.34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003015/1.665, allocations: 40.16 kB / 0.7146 GB, free: 45.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02888/1.694, allocations: 27.07 MB / 0.7411 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.486e-05/1.694, allocations: 16.94 kB / 0.7411 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01455/1.708, allocations: 10.62 MB / 0.7514 GB, free: 31.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002975/1.711, allocations: 1.012 MB / 0.7524 GB, free: 30.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007921/1.712, allocations: 29.2 kB / 0.7525 GB, free: 30.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002153/1.714, allocations: 124.9 kB / 0.7526 GB, free: 30.67 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000911/1.715, allocations: 379.4 kB / 0.7529 GB, free: 30.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002278/1.715, allocations: 115.8 kB / 0.753 GB, free: 30.58 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003709/1.719, allocations: 2.303 MB / 0.7553 GB, free: 29.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/1.719, allocations: 0 / 0.7553 GB, free: 29.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.006942/1.726, allocations: 1.367 MB / 0.7566 GB, free: 29.65 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 14 (aimcM.inertiaRotor.w,aimcM.stator.port_n.Phi.re,aimcM.stator.port_n.Phi.im,aimcM.stator.strayReluctance.Phi.re,aimcM.stator.strayReluctance.Phi.im,aimcM.rotorCage.strayInductor.inductor[4].i,aimcM.rotorCage.strayInductor.inductor[5].i,quadraticLoadTorqueM.phi,aimc3.inertiaRotor.w,aimc3.stator.port_n.Phi.re,aimc3.stator.port_n.Phi.im,aimc3.stator.strayReluctance.Phi.re,aimc3.stator.strayReluctance.Phi.im,quadraticLoadTorque3.phi) * Number of discrete variables: 8 (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 (261): * Single equations (assignments): 252 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(6,77.8%) 42,(6,72.2%) 45,(1,100.0%) 1,(1,100.0%) 8,(4,100.0%) 28,(1,100.0%) 4,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008432/1.727, allocations: 406.3 kB / 0.757 GB, free: 29.53 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.009656/1.737, allocations: 6.339 MB / 0.7632 GB, free: 26.49 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.195e-05/1.737, allocations: 3.594 kB / 0.7632 GB, free: 26.49 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007196/1.744, allocations: 4.857 MB / 0.768 GB, free: 23.97 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006139/1.75, allocations: 0.8641 MB / 0.7688 GB, free: 23.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02536/1.775, allocations: 12.83 MB / 0.7813 GB, free: 18.62 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00542/1.781, allocations: 5.382 MB / 0.7866 GB, free: 16.76 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003419/1.784, allocations: 0.8918 MB / 0.7874 GB, free: 16.67 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007895/1.785, allocations: 257.8 kB / 0.7877 GB, free: 16.66 MB / 378.7 MB Notification: Performance of SimCode: time 1.553e-06/1.785, allocations: 0 / 0.7877 GB, free: 16.66 MB / 378.7 MB Notification: Performance of Templates: time 0.3839/2.169, allocations: 64.52 MB / 0.8507 GB, free: 56.75 MB / 394.7 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.sim & ./Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe 2>&1)