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.001301/0.001301, allocations: 115.1 kB / 17.07 MB, free: 5.969 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.001418/0.001418, allocations: 198.9 kB / 18.01 MB, free: 5.055 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.302/1.302, allocations: 205.1 MB / 223.9 MB, free: 12.22 MB / 190.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.002323/0.002323, allocations: 51.92 kB / 327.9 MB, free: 3.266 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09402/0.09637, allocations: 46.61 MB / 374.5 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase): time 0.1901/0.2865, allocations: 23.71 MB / 398.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01649/0.303, allocations: 6.491 MB / 404.7 MB, free: 9.516 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005505/0.3085, allocations: 136.3 kB / 404.8 MB, free: 9.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005502/0.3141, allocations: 1.59 MB / 406.4 MB, free: 8.613 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009021/0.3232, allocations: 2.208 MB / 408.6 MB, free: 7.145 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005764/0.3289, allocations: 1.433 MB / 410.1 MB, free: 6.207 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01638/0.3453, allocations: 9.866 MB / 419.9 MB, free: 212 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0112/0.3566, allocations: 7.988 MB / 427.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009002/0.3656, allocations: 4.662 MB / 432.6 MB, free: 5.371 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009666/0.3754, allocations: 5.27 MB / 437.9 MB, free: 84 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003324/0.3787, allocations: 1.305 MB / 439.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004752/0.3835, allocations: 1.507 MB / 440.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003548/0.3871, allocations: 2.945 MB / 443.6 MB, free: 10.32 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008512/0.3956, allocations: 5.407 MB / 449 MB, free: 4.887 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01725/0.4129, allocations: 17.01 MB / 466 MB, free: 3.828 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.4129, allocations: 0 / 466 MB, free: 3.828 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4129, allocations: 0 / 466 MB, free: 3.828 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000417/0.4133, allocations: 0 / 466 MB, free: 3.828 MB / 382.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.03087/0.4442, allocations: 10.57 MB / 476.6 MB, free: 9.156 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.51e-05/0.4443, allocations: 15.89 kB / 476.6 MB, free: 9.141 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.011/0.4553, allocations: 2.031 MB / 478.6 MB, free: 7.098 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01195/0.4673, allocations: 5.577 MB / 484.2 MB, free: 1.449 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005092/0.4678, allocations: 0.5943 MB / 484.8 MB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002243/0.4701, allocations: 0.7853 MB / 485.6 MB, free: 68 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02313/0.4932, allocations: 11.33 MB / 496.9 MB, free: 4.621 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001842/0.4935, allocations: 8 kB / 496.9 MB, free: 4.613 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001/0.4945, allocations: 328 kB / 497.3 MB, free: 4.293 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003668/0.4948, allocations: 380.3 kB / 497.6 MB, free: 3.918 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0184/0.5133, allocations: 9.878 MB / 0.4956 GB, free: 10.02 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06474/0.578, allocations: 34.04 MB / 0.5289 GB, free: 7.254 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02093/0.599, allocations: 19.9 MB / 0.5483 GB, free: 1.32 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.3617/0.9607, allocations: 3.656 MB / 0.5519 GB, free: 142.1 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01787/0.9786, allocations: 9.49 MB / 0.5611 GB, free: 138.3 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.384e-05/0.9787, allocations: 69.28 kB / 0.5612 GB, free: 138.3 MB / 478.1 MB Notification: Performance of pre-optimization done (n=321): time 4.749e-06/0.9787, allocations: 0 / 0.5612 GB, free: 138.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=327): time 0.03249/1.011, allocations: 15.2 MB / 0.576 GB, free: 131.7 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/1.011, allocations: 85.08 kB / 0.5761 GB, free: 131.6 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009411/1.021, allocations: 4.402 MB / 0.5804 GB, free: 130 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000707/1.022, allocations: 83.33 kB / 0.5805 GB, free: 129.9 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002288/1.024, allocations: 3.554 MB / 0.584 GB, free: 127.2 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001133/1.025, allocations: 1.11 MB / 0.585 GB, free: 126.4 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001725/1.027, allocations: 0.6913 MB / 0.5857 GB, free: 126 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.768e-05/1.027, allocations: 302.4 kB / 0.586 GB, free: 125.7 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002772/1.03, allocations: 1.836 MB / 0.5878 GB, free: 125.1 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003042/1.033, allocations: 2.927 MB / 0.5907 GB, free: 123 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005698/1.038, allocations: 5.002 MB / 0.5955 GB, free: 119.9 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-05/1.038, allocations: 15.62 kB / 0.5956 GB, free: 119.9 MB / 478.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.009264/1.048, allocations: 6.111 MB / 0.6015 GB, free: 114.4 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.537e-05/1.048, allocations: 24.09 kB / 0.6016 GB, free: 114.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.103e-05/1.048, allocations: 32 kB / 0.6016 GB, free: 114.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001884/1.05, allocations: 0.8473 MB / 0.6024 GB, free: 113.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002949/1.053, allocations: 0.8342 MB / 0.6032 GB, free: 112.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0116/1.064, allocations: 16.27 MB / 0.6191 GB, free: 95.45 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003829/1.068, allocations: 175.8 kB / 0.6193 GB, free: 95.28 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006317/1.069, allocations: 168 kB / 0.6194 GB, free: 95.12 MB / 478.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 (idealCloser3.control[3],idealCloser3.control[2],idealCloser3.control[1],idealCloserM.control[5],idealCloserM.control[4],idealCloserM.control[3],idealCloserM.control[2],idealCloserM.control[1]) * 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 (not torn): 2 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,5,100.0%), (1,1,100.0%), (3,23,100.0%), (1,1,100.0%), (1,2,100.0%), (1,2,100.0%), (4,22,56.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004692/1.073, allocations: 2.593 MB / 0.622 GB, free: 92.52 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001325/1.075, allocations: 454.5 kB / 0.6224 GB, free: 92.07 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009366/1.084, allocations: 5.701 MB / 0.628 GB, free: 86.25 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-05/1.084, allocations: 35.94 kB / 0.628 GB, free: 86.22 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.81e-05/1.084, allocations: 20.12 kB / 0.628 GB, free: 86.2 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.365e-05/1.084, allocations: 19.94 kB / 0.628 GB, free: 86.18 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02549/1.11, allocations: 12.69 MB / 0.6404 GB, free: 73.34 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.387e-05/1.11, allocations: 4 kB / 0.6404 GB, free: 73.33 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001639/1.111, allocations: 383.9 kB / 0.6408 GB, free: 72.96 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003397/1.115, allocations: 1.443 MB / 0.6422 GB, free: 71.48 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003082/1.115, allocations: 91.95 kB / 0.6423 GB, free: 71.39 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02207/1.137, allocations: 26.45 MB / 0.6681 GB, free: 43.75 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/1.137, allocations: 7.938 kB / 0.6681 GB, free: 43.74 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01215/1.15, allocations: 8.159 MB / 0.6761 GB, free: 35.39 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002861/1.152, allocations: 0.9562 MB / 0.677 GB, free: 34.41 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001224/1.154, allocations: 79.98 kB / 0.6771 GB, free: 34.34 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003005/1.157, allocations: 167.9 kB / 0.6773 GB, free: 34.17 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008557/1.158, allocations: 321.8 kB / 0.6776 GB, free: 33.86 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002583/1.158, allocations: 91.97 kB / 0.6777 GB, free: 33.77 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.005177/1.163, allocations: 3.025 MB / 0.6806 GB, free: 30.74 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.1e-07/1.163, allocations: 4 kB / 0.6806 GB, free: 30.73 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.007294/1.17, allocations: 1.438 MB / 0.682 GB, free: 29.3 MB / 478.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 (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(1,1,100.0%), (1,13,100.0%), (1,5,100.0%), (1,8,100.0%), (2,12,100.0%), (1,1,100.0%), (3,23,100.0%), (6,46,72.2%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007405/1.171, allocations: 215.9 kB / 0.6822 GB, free: 29.08 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008396/1.179, allocations: 5.709 MB / 0.6878 GB, free: 23.23 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.114e-06/1.18, allocations: 4 kB / 0.6878 GB, free: 23.22 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005352/1.185, allocations: 4.105 MB / 0.6918 GB, free: 19 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00652/1.191, allocations: 1.246 MB / 0.693 GB, free: 17.76 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02423/1.216, allocations: 14.46 MB / 0.7072 GB, free: 3.238 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006383/1.222, allocations: 5.101 MB / 0.7121 GB, free: 14.11 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00372/1.226, allocations: 1.015 MB / 0.7131 GB, free: 13.09 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001193/1.227, allocations: 279.4 kB / 0.7134 GB, free: 12.82 MB / 494.1 MB Notification: Performance of SimCode: time 5.81e-07/1.227, allocations: 0 / 0.7134 GB, free: 12.82 MB / 494.1 MB Notification: Performance of Templates: time 0.3481/1.575, allocations: 72.09 MB / 0.7838 GB, free: 140.6 MB / 0.4982 GB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.makefile (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)