Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 94.11 kB / 16.3 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 180.4 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.452/1.452, allocations: 205.4 MB / 223.4 MB, free: 5.297 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004824/0.0004825, allocations: 16 kB / 280.1 MB, free: 12.71 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2633, allocations: 47.58 MB / 327.7 MB, free: 1.441 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase): time 0.02131/0.2846, allocations: 18.91 MB / 346.6 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0152/0.2999, allocations: 6.337 MB / 353 MB, free: 10.19 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005297/0.3052, allocations: 127.4 kB / 353.1 MB, free: 10.06 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00478/0.31, allocations: 1.208 MB / 354.3 MB, free: 8.848 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008262/0.3183, allocations: 1.932 MB / 356.2 MB, free: 6.91 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003708/0.3221, allocations: 0.9474 MB / 357.2 MB, free: 5.961 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01299/0.3351, allocations: 6.669 MB / 363.8 MB, free: 15.28 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008559/0.3437, allocations: 5.644 MB / 369.5 MB, free: 9.574 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005924/0.3496, allocations: 3.04 MB / 372.5 MB, free: 6.523 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007446/0.3571, allocations: 3.684 MB / 376.2 MB, free: 2.824 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003171/0.3603, allocations: 0.5117 MB / 376.7 MB, free: 2.312 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004648/0.365, allocations: 0.6833 MB / 377.4 MB, free: 1.629 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00362/0.3686, allocations: 1.904 MB / 379.3 MB, free: 15.72 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003986/0.3727, allocations: 1.829 MB / 381.1 MB, free: 13.88 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01845/0.3911, allocations: 13.86 MB / 395 MB, free: 15.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3912, allocations: 7.938 kB / 395 MB, free: 15.97 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.836e-06/0.3912, allocations: 0 / 395 MB, free: 15.97 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0006032/0.3918, allocations: 0 / 395 MB, free: 15.97 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2135 * Number of variables: 2135 Notification: Performance of Generate backend data structure: time 0.03007/0.4219, allocations: 8.945 MB / 403.9 MB, free: 6.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.4219, allocations: 8.031 kB / 404 MB, free: 6.922 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01323/0.4352, allocations: 2.05 MB / 406 MB, free: 4.859 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01393/0.4492, allocations: 5.31 MB / 411.3 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007777/0.45, allocations: 0.5901 MB / 411.9 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003119/0.4531, allocations: 0.7849 MB / 412.7 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03008/0.4832, allocations: 11.22 MB / 423.9 MB, free: 2.766 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002317/0.4835, allocations: 7.938 kB / 423.9 MB, free: 2.758 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001776/0.4853, allocations: 328 kB / 424.2 MB, free: 2.438 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000375/0.4857, allocations: 376.3 kB / 424.6 MB, free: 2.066 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02423/0.5099, allocations: 9.867 MB / 434.5 MB, free: 8.176 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2806/0.7905, allocations: 34.61 MB / 469.1 MB, free: 85.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01569/0.8063, allocations: 19.88 MB / 489 MB, free: 70.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01437/0.8207, allocations: 7.958 MB / 496.9 MB, free: 65.85 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.387e-05/0.8208, allocations: 75.05 kB / 497 MB, free: 65.78 MB / 382.1 MB Notification: Performance of pre-optimization done (n=343): time 5.771e-06/0.8208, allocations: 3.75 kB / 497 MB, free: 65.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=351): time 0.03329/0.8541, allocations: 16.25 MB / 0.5012 GB, free: 56.35 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.8542, allocations: 89.55 kB / 0.5013 GB, free: 56.29 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005666/0.8599, allocations: 4.291 MB / 0.5055 GB, free: 52.08 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005649/0.8605, allocations: 81.7 kB / 0.5056 GB, free: 51.99 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001644/0.8621, allocations: 3.495 MB / 0.509 GB, free: 48.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001016/0.8631, allocations: 1.174 MB / 0.5101 GB, free: 47.31 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002021/0.8633, allocations: 84 kB / 0.5102 GB, free: 47.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.8635, allocations: 474.6 kB / 0.5107 GB, free: 46.76 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002663/0.8662, allocations: 1.925 MB / 0.5126 GB, free: 44.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003123/0.8693, allocations: 2.974 MB / 0.5155 GB, free: 41.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003123/0.8725, allocations: 2.425 MB / 0.5178 GB, free: 38.95 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.658e-05/0.8725, allocations: 12 kB / 0.5178 GB, free: 38.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=518) (initialization): time 0.008782/0.8813, allocations: 6.31 MB / 0.524 GB, free: 32.54 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.239e-05/0.8814, allocations: 20 kB / 0.524 GB, free: 32.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.772e-05/0.8815, allocations: 31.95 kB / 0.5241 GB, free: 32.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001875/0.8833, allocations: 0.8713 MB / 0.5249 GB, free: 31.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003172/0.8865, allocations: 0.8707 MB / 0.5258 GB, free: 30.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01177/0.8983, allocations: 15.54 MB / 0.5409 GB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003733/0.9021, allocations: 188 kB / 0.5411 GB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005998/0.9027, allocations: 164 kB / 0.5413 GB, free: 13.92 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 142 * Number of states: 0 () * Number of discrete variables: 8 (idealCloserM.control[1],idealCloserM.control[2],idealCloserM.control[3],idealCloserM.control[4],idealCloserM.control[5],idealCloser3.control[1],idealCloser3.control[2],idealCloser3.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (452): * Single equations (assignments): 443 * 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: 7 * 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: 7 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 23,(1,100.0%) 2,(1,100.0%) 2,(4,68.8%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005227/0.908, allocations: 2.604 MB / 0.5438 GB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001038/0.909, allocations: 462.4 kB / 0.5442 GB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009049/0.9181, allocations: 6.004 MB / 0.5501 GB, free: 4.738 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.656e-05/0.9181, allocations: 36 kB / 0.5501 GB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-05/0.9182, allocations: 23.98 kB / 0.5502 GB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.397e-05/0.9182, allocations: 15.94 kB / 0.5502 GB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02495/0.9432, allocations: 13.56 MB / 0.5634 GB, free: 6.926 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.756e-05/0.9432, allocations: 8 kB / 0.5634 GB, free: 6.918 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001886/0.9451, allocations: 435.9 kB / 0.5638 GB, free: 6.492 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003831/0.949, allocations: 1.44 MB / 0.5652 GB, free: 5.031 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003961/0.9494, allocations: 95.97 kB / 0.5653 GB, free: 4.938 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02836/0.9778, allocations: 24.71 MB / 0.5895 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.9778, allocations: 4 kB / 0.5895 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01531/0.9931, allocations: 9.14 MB / 0.5984 GB, free: 1.508 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002978/0.9962, allocations: 0.9679 MB / 0.5993 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001038/0.9972, allocations: 83.98 kB / 0.5994 GB, free: 444 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002492/0.9997, allocations: 195.9 kB / 0.5996 GB, free: 248 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009564/1.001, allocations: 341.9 kB / 0.5999 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002397/1.001, allocations: 104 kB / 0.6 GB, free: 15.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005025/1.006, allocations: 2.923 MB / 0.6029 GB, free: 12.88 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.925e-06/1.006, allocations: 112 / 0.6029 GB, free: 12.88 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006261/1.012, allocations: 1.461 MB / 0.6043 GB, free: 11.42 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 12 (aimcM.inertiaRotor.w,aimcM.stator.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.re,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.im,quadraticLoadTorqueM.phi,aimc3.inertiaRotor.w,aimc3.stator.core.Phi.re,aimc3.stator.core.Phi.im,aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque3.phi) * Number of discrete variables: 8 (idealCloserM.control[1],idealCloserM.control[2],idealCloserM.control[3],idealCloserM.control[4],idealCloserM.control[5],idealCloser3.control[1],idealCloser3.control[2],idealCloser3.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (221): * Single equations (assignments): 212 * 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,72.2%) 46,(3,100.0%) 23,(1,100.0%) 1,(2,100.0%) 12,(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000727/1.013, allocations: 225.8 kB / 0.6045 GB, free: 11.19 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01013/1.023, allocations: 5.935 MB / 0.6103 GB, free: 5.105 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-05/1.023, allocations: 4 kB / 0.6103 GB, free: 5.102 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007534/1.031, allocations: 4.319 MB / 0.6146 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1888/1.22, allocations: 1.151 MB / 0.6157 GB, free: 150.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0289/1.249, allocations: 17.53 MB / 0.6328 GB, free: 143.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005056/1.254, allocations: 5.247 MB / 0.6379 GB, free: 142.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003805/1.258, allocations: 1.036 MB / 0.6389 GB, free: 142.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007378/1.258, allocations: 285.4 kB / 0.6392 GB, free: 142.3 MB / 446.1 MB Notification: Performance of SimCode: time 1.012e-06/1.258, allocations: 0 / 0.6392 GB, free: 142.3 MB / 446.1 MB Notification: Performance of Templates: time 0.1099/1.368, allocations: 68.39 MB / 0.706 GB, free: 78.78 MB / 446.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe 2>&1) Environment - environmentSimulation: