Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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.1_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.1_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.0009052/0.0009052, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008864/0.0008865, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.597/1.597, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.0004471/0.0004471, allocations: 14.81 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3099, allocations: 47.58 MB / 326.5 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase): time 0.02218/0.3321, allocations: 20.86 MB / 347.3 MB, free: 14.59 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01573/0.3479, allocations: 6.108 MB / 353.5 MB, free: 8.461 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004731/0.3526, allocations: 135.4 kB / 353.6 MB, free: 8.328 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004648/0.3573, allocations: 1.134 MB / 354.7 MB, free: 7.188 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009111/0.3664, allocations: 1.837 MB / 356.6 MB, free: 5.34 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004013/0.3705, allocations: 0.9396 MB / 357.5 MB, free: 4.398 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01508/0.3856, allocations: 9.873 MB / 367.4 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008955/0.3946, allocations: 5.632 MB / 373 MB, free: 4.793 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006306/0.4009, allocations: 3.129 MB / 376.1 MB, free: 1.652 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009414/0.4103, allocations: 4.066 MB / 380.2 MB, free: 13.57 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002798/0.4132, allocations: 0.5156 MB / 380.7 MB, free: 13.05 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004119/0.4173, allocations: 0.7029 MB / 381.4 MB, free: 12.35 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002417/0.4197, allocations: 2.005 MB / 383.4 MB, free: 10.34 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00431/0.424, allocations: 1.829 MB / 385.2 MB, free: 8.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01951/0.4436, allocations: 13.93 MB / 399.2 MB, free: 10.54 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.4436, allocations: 0 / 399.2 MB, free: 10.54 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4436, allocations: 4 kB / 399.2 MB, free: 10.53 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0006191/0.4442, allocations: 0 / 399.2 MB, free: 10.53 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.02649/0.4708, allocations: 8.968 MB / 408.1 MB, free: 1.461 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.4708, allocations: 12.03 kB / 408.2 MB, free: 1.449 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01286/0.4837, allocations: 2.046 MB / 410.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01415/0.4979, allocations: 5.256 MB / 415.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007262/0.4986, allocations: 0.594 MB / 416.1 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00361/0.5023, allocations: 0.7849 MB / 416.8 MB, free: 8.684 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03362/0.5359, allocations: 11.29 MB / 428.1 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001828/0.5361, allocations: 11.89 kB / 428.1 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009066/0.537, allocations: 332 kB / 428.5 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003658/0.5374, allocations: 380.3 kB / 428.8 MB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02484/0.5622, allocations: 9.87 MB / 438.7 MB, free: 2.684 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5196/1.082, allocations: 34.67 MB / 473.4 MB, free: 84.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01513/1.097, allocations: 19.89 MB / 493.3 MB, free: 66.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005334/1.102, allocations: 3.76 MB / 497 MB, free: 64.87 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01567/1.118, allocations: 9.561 MB / 0.4947 GB, free: 58.61 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.717e-05/1.118, allocations: 73.5 kB / 0.4948 GB, free: 58.54 MB / 382.1 MB Notification: Performance of pre-optimization done (n=321): time 5.48e-06/1.118, allocations: 2.719 kB / 0.4948 GB, free: 58.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=327): time 0.03101/1.149, allocations: 15.52 MB / 0.5099 GB, free: 44.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.665e-05/1.149, allocations: 85.98 kB / 0.51 GB, free: 44.14 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007622/1.157, allocations: 4.369 MB / 0.5143 GB, free: 39.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000713/1.158, allocations: 81.7 kB / 0.5144 GB, free: 39.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002071/1.16, allocations: 3.548 MB / 0.5178 GB, free: 36.1 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001134/1.161, allocations: 1.099 MB / 0.5189 GB, free: 35.01 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002012/1.161, allocations: 80 kB / 0.519 GB, free: 34.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001733/1.161, allocations: 466.4 kB / 0.5194 GB, free: 34.47 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002689/1.164, allocations: 1.846 MB / 0.5212 GB, free: 32.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002942/1.167, allocations: 2.942 MB / 0.5241 GB, free: 29.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002856/1.17, allocations: 2.337 MB / 0.5264 GB, free: 26.88 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.441e-05/1.17, allocations: 12 kB / 0.5264 GB, free: 26.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.008857/1.179, allocations: 6.119 MB / 0.5324 GB, free: 20.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.326e-05/1.179, allocations: 23.95 kB / 0.5324 GB, free: 20.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.199e-05/1.179, allocations: 36.09 kB / 0.5324 GB, free: 20.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00191/1.181, allocations: 0.8473 MB / 0.5333 GB, free: 19.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002769/1.184, allocations: 0.8385 MB / 0.5341 GB, free: 18.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01249/1.196, allocations: 15 MB / 0.5487 GB, free: 2.957 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004764/1.201, allocations: 195.8 kB / 0.5489 GB, free: 2.766 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000728/1.202, allocations: 164 kB / 0.5491 GB, free: 2.605 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 148 * 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 (439): * Single equations (assignments): 430 * 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,(3,100.0%) 23,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2,(4,56.2%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006329/1.208, allocations: 2.589 MB / 0.5516 GB, free: 4 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001793/1.21, allocations: 454.6 kB / 0.552 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01253/1.222, allocations: 5.729 MB / 0.5576 GB, free: 9.707 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.024e-05/1.222, allocations: 28 kB / 0.5576 GB, free: 9.68 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.471e-05/1.222, allocations: 20 kB / 0.5577 GB, free: 9.66 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-05/1.223, allocations: 19.69 kB / 0.5577 GB, free: 9.645 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02764/1.25, allocations: 12.72 MB / 0.5701 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.474e-05/1.25, allocations: 4 kB / 0.5701 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001611/1.252, allocations: 387.7 kB / 0.5705 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003811/1.256, allocations: 1.449 MB / 0.5719 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002674/1.256, allocations: 91.97 kB / 0.572 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02981/1.286, allocations: 24.25 MB / 0.5957 GB, free: 1.406 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.127e-06/1.286, allocations: 4 kB / 0.5957 GB, free: 1.402 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01728/1.303, allocations: 8.203 MB / 0.6037 GB, free: 9.008 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003477/1.307, allocations: 0.96 MB / 0.6046 GB, free: 8.023 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001704/1.308, allocations: 84.17 kB / 0.6047 GB, free: 7.941 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003081/1.311, allocations: 183.9 kB / 0.6049 GB, free: 7.762 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009817/1.312, allocations: 333.9 kB / 0.6052 GB, free: 7.434 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003292/1.313, allocations: 91.97 kB / 0.6053 GB, free: 7.344 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.007053/1.32, allocations: 2.986 MB / 0.6082 GB, free: 4.355 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.21e-07/1.32, allocations: 0 / 0.6082 GB, free: 4.355 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007787/1.328, allocations: 1.445 MB / 0.6096 GB, free: 2.91 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (197): * Single equations (assignments): 188 * 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 {(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 12,(1,100.0%) 1,(3,100.0%) 23,(6,72.2%) 46,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007119/1.328, allocations: 216.3 kB / 0.6098 GB, free: 2.691 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.2704/1.599, allocations: 5.714 MB / 0.6154 GB, free: 153.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-05/1.599, allocations: 6.625 kB / 0.6154 GB, free: 153.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007042/1.606, allocations: 4.127 MB / 0.6194 GB, free: 152.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006337/1.612, allocations: 1.208 MB / 0.6206 GB, free: 152.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02584/1.638, allocations: 17.33 MB / 0.6375 GB, free: 143.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004592/1.643, allocations: 5.11 MB / 0.6425 GB, free: 141.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003784/1.647, allocations: 1.009 MB / 0.6435 GB, free: 140.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006979/1.647, allocations: 278.6 kB / 0.6438 GB, free: 140.2 MB / 446.1 MB Notification: Performance of SimCode: time 1.904e-06/1.647, allocations: 0 / 0.6438 GB, free: 140.2 MB / 446.1 MB Notification: Performance of Templates: time 0.1071/1.754, allocations: 68.47 MB / 0.7106 GB, free: 71.71 MB / 446.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.sim & ./Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe 2>&1)