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.0007881/0.0007884, allocations: 92.75 kB / 16.65 MB, free: 6.59 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.0008513/0.0008514, allocations: 184.3 kB / 17.57 MB, free: 6.199 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.307/1.307, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.0005395/0.0005395, allocations: 12 kB / 280.7 MB, free: 3.398 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08851/0.08906, allocations: 47.58 MB / 328.3 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase): time 0.02114/0.1102, allocations: 22.41 MB / 350.7 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01421/0.1245, allocations: 6.352 MB / 357.1 MB, free: 6.859 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004566/0.1291, allocations: 131.4 kB / 357.2 MB, free: 6.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005275/0.1344, allocations: 1.36 MB / 358.6 MB, free: 5.363 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008718/0.1431, allocations: 1.986 MB / 360.6 MB, free: 3.367 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004052/0.1472, allocations: 1.295 MB / 361.9 MB, free: 2.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01283/0.16, allocations: 10.53 MB / 372.4 MB, free: 7.504 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009866/0.1699, allocations: 6.575 MB / 379 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.164/0.334, allocations: 3.155 MB / 382.1 MB, free: 17.06 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007557/0.3416, allocations: 4.223 MB / 386.3 MB, free: 16.27 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002744/0.3444, allocations: 0.5168 MB / 386.9 MB, free: 16.27 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005219/0.3496, allocations: 0.7213 MB / 387.6 MB, free: 16.27 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004181/0.3538, allocations: 2.015 MB / 389.6 MB, free: 15.95 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009298/0.3631, allocations: 4.418 MB / 394 MB, free: 14.61 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01574/0.3789, allocations: 15.86 MB / 409.9 MB, free: 7.277 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3789, allocations: 0 / 409.9 MB, free: 7.277 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.379, allocations: 0 / 409.9 MB, free: 7.277 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0005479/0.3795, allocations: 3.125 kB / 409.9 MB, free: 7.277 MB / 318.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.02283/0.4024, allocations: 8.868 MB / 418.7 MB, free: 2.582 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.4024, allocations: 13.98 kB / 418.8 MB, free: 2.578 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01154/0.414, allocations: 2.045 MB / 420.8 MB, free: 1.75 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01031/0.4243, allocations: 5.393 MB / 426.2 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005783/0.4249, allocations: 0.5942 MB / 426.8 MB, free: 13.06 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002657/0.4276, allocations: 0.7868 MB / 427.6 MB, free: 12.28 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02649/0.4541, allocations: 11.35 MB / 438.9 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001665/0.4543, allocations: 15.47 kB / 438.9 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009719/0.4553, allocations: 331.3 kB / 439.3 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003301/0.4556, allocations: 372.3 kB / 439.6 MB, free: 140 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02224/0.4779, allocations: 9.932 MB / 449.6 MB, free: 6.199 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06593/0.5438, allocations: 34.71 MB / 484.3 MB, free: 3.512 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01983/0.5637, allocations: 19.93 MB / 0.4924 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006775/0.5705, allocations: 3.758 MB / 0.496 GB, free: 9.816 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01664/0.5872, allocations: 9.552 MB / 0.5054 GB, free: 264 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.993e-05/0.5873, allocations: 77.02 kB / 0.5055 GB, free: 176 kB / 414.1 MB Notification: Performance of pre-optimization done (n=321): time 5.651e-06/0.5873, allocations: 0 / 0.5055 GB, free: 176 kB / 414.1 MB Notification: Performance of matching and sorting (n=327): time 0.03416/0.6215, allocations: 15.4 MB / 0.5205 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.491e-05/0.6216, allocations: 85.98 kB / 0.5206 GB, free: 420 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006956/0.6285, allocations: 4.404 MB / 0.5249 GB, free: 11.99 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000663/0.6292, allocations: 85.64 kB / 0.525 GB, free: 11.9 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002511/0.6317, allocations: 3.55 MB / 0.5284 GB, free: 8.332 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001391/0.6331, allocations: 1.104 MB / 0.5295 GB, free: 7.238 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004787/0.6336, allocations: 326.1 kB / 0.5298 GB, free: 6.914 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.452e-05/0.6337, allocations: 301.1 kB / 0.5301 GB, free: 6.617 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00329/0.637, allocations: 1.858 MB / 0.5319 GB, free: 4.758 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003978/0.641, allocations: 2.959 MB / 0.5348 GB, free: 1.363 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1953/0.8363, allocations: 5.046 MB / 0.5397 GB, free: 149.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.183e-05/0.8364, allocations: 10.16 kB / 0.5397 GB, free: 149.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.01158/0.848, allocations: 6.17 MB / 0.5458 GB, free: 148.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.387e-05/0.8481, allocations: 18.88 kB / 0.5458 GB, free: 148.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.7e-05/0.8481, allocations: 32.25 kB / 0.5458 GB, free: 148.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002055/0.8502, allocations: 0.8404 MB / 0.5466 GB, free: 148.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003588/0.8538, allocations: 0.8315 MB / 0.5474 GB, free: 148.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0136/0.8674, allocations: 15.02 MB / 0.5621 GB, free: 136.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004103/0.8716, allocations: 189.9 kB / 0.5623 GB, free: 136.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007308/0.8723, allocations: 165.9 kB / 0.5625 GB, free: 136.1 MB / 446.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.005495/0.8778, allocations: 2.587 MB / 0.565 GB, free: 134.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001157/0.879, allocations: 455.9 kB / 0.5654 GB, free: 134.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0093/0.8883, allocations: 5.753 MB / 0.571 GB, free: 132.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.428e-05/0.8884, allocations: 29.88 kB / 0.5711 GB, free: 132.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.259e-05/0.8884, allocations: 18.72 kB / 0.5711 GB, free: 132.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.507e-05/0.8884, allocations: 15.05 kB / 0.5711 GB, free: 132.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01861/0.907, allocations: 12.74 MB / 0.5835 GB, free: 125.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/0.9071, allocations: 4 kB / 0.5835 GB, free: 125.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001604/0.9087, allocations: 386.2 kB / 0.5839 GB, free: 124.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003368/0.9121, allocations: 1.454 MB / 0.5853 GB, free: 123.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002606/0.9124, allocations: 93.61 kB / 0.5854 GB, free: 123.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02068/0.933, allocations: 24.31 MB / 0.6092 GB, free: 98.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.9331, allocations: 4 kB / 0.6092 GB, free: 98.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01229/0.9454, allocations: 8.23 MB / 0.6172 GB, free: 90.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002521/0.9479, allocations: 0.9523 MB / 0.6181 GB, free: 89.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009018/0.9488, allocations: 79.98 kB / 0.6182 GB, free: 89.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002479/0.9513, allocations: 195.8 kB / 0.6184 GB, free: 89 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007472/0.9521, allocations: 317.9 kB / 0.6187 GB, free: 88.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001862/0.9523, allocations: 91.97 kB / 0.6188 GB, free: 88.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004482/0.9568, allocations: 3.021 MB / 0.6217 GB, free: 85.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.9568, allocations: 3.938 kB / 0.6217 GB, free: 85.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005714/0.9625, allocations: 1.445 MB / 0.6232 GB, free: 84.13 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 (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.0006625/0.9632, allocations: 228.1 kB / 0.6234 GB, free: 83.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007803/0.971, allocations: 5.744 MB / 0.629 GB, free: 78.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.315e-06/0.971, allocations: 4 kB / 0.629 GB, free: 78.01 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006055/0.9771, allocations: 4.145 MB / 0.633 GB, free: 73.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009126/0.9863, allocations: 1.192 MB / 0.6342 GB, free: 72.57 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03046/1.017, allocations: 18.18 MB / 0.652 GB, free: 54.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005509/1.022, allocations: 5.1 MB / 0.6569 GB, free: 49.21 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003917/1.026, allocations: 1.015 MB / 0.6579 GB, free: 48.19 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008556/1.027, allocations: 279.4 kB / 0.6582 GB, free: 47.91 MB / 446.1 MB Notification: Performance of SimCode: time 1.432e-06/1.027, allocations: 0 / 0.6582 GB, free: 47.91 MB / 446.1 MB Notification: Performance of Templates: time 0.3164/1.344, allocations: 70.04 MB / 0.7266 GB, free: 112.7 MB / 446.1 MB 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)