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.0009586/0.0009586, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.0009824/0.0009826, allocations: 177.3 kB / 15.95 MB, free: 216 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.449/1.449, 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.0005281/0.0005281, allocations: 14.81 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.224, allocations: 47.57 MB / 326.5 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase): time 0.02057/0.2446, allocations: 18.91 MB / 345.4 MB, free: 0.5625 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01361/0.2583, allocations: 6.337 MB / 351.7 MB, free: 10.21 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003753/0.262, allocations: 131.4 kB / 351.8 MB, free: 10.08 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004025/0.2661, allocations: 1.208 MB / 353 MB, free: 8.867 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00851/0.2746, allocations: 1.939 MB / 355 MB, free: 6.922 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003435/0.2781, allocations: 0.9475 MB / 355.9 MB, free: 5.973 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01095/0.289, allocations: 6.669 MB / 362.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007761/0.2968, allocations: 5.64 MB / 368.2 MB, free: 9.586 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005659/0.3025, allocations: 3.044 MB / 371.3 MB, free: 6.531 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006871/0.3094, allocations: 3.677 MB / 375 MB, free: 2.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002375/0.3118, allocations: 0.5156 MB / 375.5 MB, free: 2.324 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003408/0.3153, allocations: 0.6793 MB / 376.1 MB, free: 1.648 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002497/0.3178, allocations: 1.908 MB / 378.1 MB, free: 15.73 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003615/0.3214, allocations: 1.829 MB / 379.9 MB, free: 13.89 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0173/0.3387, allocations: 13.86 MB / 393.7 MB, free: 15.99 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3388, allocations: 0 / 393.7 MB, free: 15.99 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.3388, allocations: 0 / 393.7 MB, free: 15.99 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0006256/0.3394, allocations: 0 / 393.7 MB, free: 15.99 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.0271/0.3665, allocations: 8.949 MB / 402.7 MB, free: 6.945 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.3666, allocations: 8.031 kB / 402.7 MB, free: 6.938 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0124/0.379, allocations: 2.046 MB / 404.7 MB, free: 4.879 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01474/0.3938, allocations: 5.31 MB / 410.1 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000854/0.3947, allocations: 0.5901 MB / 410.6 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002943/0.3977, allocations: 0.7849 MB / 411.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02887/0.4265, allocations: 11.23 MB / 422.7 MB, free: 2.781 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002044/0.4268, allocations: 11.92 kB / 422.7 MB, free: 2.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001178/0.428, allocations: 324 kB / 423 MB, free: 2.453 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003362/0.4283, allocations: 376.3 kB / 423.4 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02107/0.4494, allocations: 9.859 MB / 433.2 MB, free: 8.203 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2463/0.6957, allocations: 34.61 MB / 467.8 MB, free: 85.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01687/0.7127, allocations: 19.9 MB / 487.7 MB, free: 70.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01539/0.7281, allocations: 7.951 MB / 495.7 MB, free: 65.85 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.455e-05/0.7282, allocations: 78.5 kB / 495.7 MB, free: 65.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=343): time 7.254e-06/0.7282, allocations: 2.719 kB / 495.7 MB, free: 65.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=351): time 0.03388/0.7621, allocations: 16.26 MB / 0.5 GB, free: 56.35 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/0.7622, allocations: 85.7 kB / 0.5001 GB, free: 56.29 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008054/0.7703, allocations: 4.289 MB / 0.5043 GB, free: 52.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007492/0.7711, allocations: 87.89 kB / 0.5044 GB, free: 51.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001949/0.7731, allocations: 3.484 MB / 0.5078 GB, free: 48.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001189/0.7743, allocations: 1.183 MB / 0.5089 GB, free: 47.31 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001907/0.7745, allocations: 80 kB / 0.509 GB, free: 47.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.7747, allocations: 470.6 kB / 0.5094 GB, free: 46.76 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002685/0.7774, allocations: 1.933 MB / 0.5113 GB, free: 44.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002973/0.7803, allocations: 2.976 MB / 0.5142 GB, free: 41.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002968/0.7833, allocations: 2.429 MB / 0.5166 GB, free: 38.94 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.46e-05/0.7834, allocations: 8 kB / 0.5166 GB, free: 38.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=518) (initialization): time 0.008863/0.7922, allocations: 6.307 MB / 0.5228 GB, free: 32.54 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.46e-05/0.7923, allocations: 20 kB / 0.5228 GB, free: 32.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.062e-05/0.7923, allocations: 35.95 kB / 0.5228 GB, free: 32.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001822/0.7942, allocations: 0.8707 MB / 0.5237 GB, free: 31.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002997/0.7972, allocations: 0.8658 MB / 0.5245 GB, free: 30.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01197/0.8092, allocations: 15.54 MB / 0.5397 GB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004184/0.8134, allocations: 188.1 kB / 0.5399 GB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004327/0.8139, allocations: 168 kB / 0.54 GB, free: 13.91 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.005515/0.8194, allocations: 2.605 MB / 0.5426 GB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001278/0.8207, allocations: 459.8 kB / 0.543 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01002/0.8307, allocations: 6 MB / 0.5489 GB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.122e-05/0.8308, allocations: 36 kB / 0.5489 GB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.181e-05/0.8308, allocations: 20 kB / 0.5489 GB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.157e-05/0.8308, allocations: 19.92 kB / 0.549 GB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02514/0.856, allocations: 13.55 MB / 0.5622 GB, free: 6.922 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.469e-05/0.856, allocations: 4.625 kB / 0.5622 GB, free: 6.918 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001931/0.858, allocations: 435.3 kB / 0.5626 GB, free: 6.492 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003643/0.8616, allocations: 1.441 MB / 0.564 GB, free: 5.027 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000284/0.8619, allocations: 95.97 kB / 0.5641 GB, free: 4.934 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02711/0.889, allocations: 24.72 MB / 0.5882 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/0.8891, allocations: 8 kB / 0.5883 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01444/0.9035, allocations: 9.128 MB / 0.5972 GB, free: 1.512 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002837/0.9064, allocations: 0.9718 MB / 0.5981 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009305/0.9073, allocations: 87.98 kB / 0.5982 GB, free: 440 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00212/0.9095, allocations: 191.9 kB / 0.5984 GB, free: 248 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007866/0.9103, allocations: 346 kB / 0.5987 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002074/0.9105, allocations: 103.9 kB / 0.5988 GB, free: 15.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004872/0.9154, allocations: 2.923 MB / 0.6017 GB, free: 12.88 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.993e-06/0.9154, allocations: 112 / 0.6017 GB, free: 12.88 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005553/0.9209, allocations: 1.461 MB / 0.6031 GB, free: 11.41 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.0006542/0.9216, allocations: 233.7 kB / 0.6033 GB, free: 11.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009527/0.9311, allocations: 5.932 MB / 0.6091 GB, free: 5.098 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.847e-06/0.9312, allocations: 0.9375 kB / 0.6091 GB, free: 5.098 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006888/0.9381, allocations: 4.322 MB / 0.6133 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1869/1.125, allocations: 1.146 MB / 0.6144 GB, free: 150.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02644/1.151, allocations: 17.54 MB / 0.6316 GB, free: 143.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005385/1.157, allocations: 5.251 MB / 0.6367 GB, free: 142.4 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003853/1.161, allocations: 1.031 MB / 0.6377 GB, free: 142.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00078/1.162, allocations: 281.6 kB / 0.638 GB, free: 142.2 MB / 446.1 MB Notification: Performance of SimCode: time 9.02e-07/1.162, allocations: 4 kB / 0.638 GB, free: 142.2 MB / 446.1 MB Notification: Performance of Templates: time 0.09782/1.259, allocations: 68.39 MB / 0.7048 GB, free: 78.77 MB / 446.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: