Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.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_YD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009419/0.0009419, allocations: 100.1 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.0008996/0.0008996, 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.607/1.607, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.0004561/0.0004562, allocations: 16 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2418, allocations: 47.59 MB / 326.5 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD): time 0.01169/0.2535, allocations: 11 MB / 337.5 MB, free: 8.473 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008337/0.2619, allocations: 4.3 MB / 341.8 MB, free: 4.164 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00178/0.2638, allocations: 67.69 kB / 341.8 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002156/0.2659, allocations: 0.8007 MB / 342.6 MB, free: 3.293 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003626/0.2696, allocations: 1.203 MB / 343.8 MB, free: 2.086 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001725/0.2713, allocations: 0.6197 MB / 344.4 MB, free: 1.465 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.005252/0.2766, allocations: 3.162 MB / 347.6 MB, free: 14.29 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003074/0.2797, allocations: 2.553 MB / 350.2 MB, free: 11.7 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002182/0.2819, allocations: 1.436 MB / 351.6 MB, free: 10.25 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002486/0.2844, allocations: 1.708 MB / 353.3 MB, free: 8.539 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004743/0.2849, allocations: 236 kB / 353.5 MB, free: 8.309 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001147/0.286, allocations: 411.7 kB / 353.9 MB, free: 7.906 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007702/0.2868, allocations: 0.8722 MB / 354.8 MB, free: 7.031 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001055/0.2879, allocations: 0.8473 MB / 355.7 MB, free: 6.176 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006464/0.2943, allocations: 6.284 MB / 361.9 MB, free: 15.88 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2944, allocations: 0 / 361.9 MB, free: 15.88 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.507e-06/0.2944, allocations: 0 / 361.9 MB, free: 15.88 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002229/0.2946, allocations: 0 / 361.9 MB, free: 15.88 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 945 * Number of variables: 945 Notification: Performance of Generate backend data structure: time 0.01155/0.3062, allocations: 4.3 MB / 366.2 MB, free: 11.5 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.3062, allocations: 8.031 kB / 366.3 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005038/0.3113, allocations: 0.8771 MB / 367.1 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005705/0.317, allocations: 2.526 MB / 369.7 MB, free: 8.035 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002507/0.3173, allocations: 275.2 kB / 369.9 MB, free: 7.766 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008157/0.3181, allocations: 355.9 kB / 370.3 MB, free: 7.418 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009251/0.3274, allocations: 4.997 MB / 375.3 MB, free: 2.367 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-05/0.3275, allocations: 3.906 kB / 375.3 MB, free: 2.363 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003653/0.3279, allocations: 152 kB / 375.4 MB, free: 2.215 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001516/0.328, allocations: 159.2 kB / 375.6 MB, free: 2.059 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00788/0.3359, allocations: 4.373 MB / 379.9 MB, free: 13.68 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02481/0.3608, allocations: 15.94 MB / 395.9 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007484/0.3683, allocations: 7.78 MB / 403.7 MB, free: 4.691 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007538/0.3759, allocations: 4.043 MB / 407.7 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.565e-05/0.376, allocations: 48.56 kB / 407.8 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of pre-optimization done (n=167): time 4.018e-06/0.376, allocations: 0 / 407.8 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of matching and sorting (n=170): time 0.01662/0.3926, allocations: 8.332 MB / 416.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/0.3927, allocations: 73.34 kB / 416.2 MB, free: 7.879 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003069/0.3958, allocations: 2.104 MB / 418.3 MB, free: 5.738 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000201/0.396, allocations: 49.7 kB / 418.3 MB, free: 5.684 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001122/0.3971, allocations: 1.608 MB / 419.9 MB, free: 4.059 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004765/0.3976, allocations: 0.566 MB / 420.5 MB, free: 3.484 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.3977, allocations: 40 kB / 420.5 MB, free: 3.445 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.3979, allocations: 381.9 kB / 420.9 MB, free: 3.066 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001557/0.3995, allocations: 0.9682 MB / 421.9 MB, free: 2.098 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001852/0.4013, allocations: 1.471 MB / 423.3 MB, free: 428 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00176/0.4031, allocations: 1.189 MB / 424.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.326e-06/0.4031, allocations: 4 kB / 424.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=249) (initialization): time 0.00539/0.4085, allocations: 3.398 MB / 427.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.789e-05/0.4086, allocations: 15.98 kB / 427.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.181e-05/0.4086, allocations: 16 kB / 428 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001673/0.4103, allocations: 0.728 MB / 428.7 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/0.4117, allocations: 383.4 kB / 429.1 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01157/0.4232, allocations: 10.62 MB / 439.7 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001802/0.4251, allocations: 92.05 kB / 439.8 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001604/0.4253, allocations: 83.98 kB / 439.9 MB, free: 15.31 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (199): * Single equations (assignments): 194 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 8,(9,33.3%) 19,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002268/0.4275, allocations: 1.219 MB / 441.1 MB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004429/0.428, allocations: 233.2 kB / 441.3 MB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005369/0.4334, allocations: 3.234 MB / 444.5 MB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/0.4334, allocations: 16 kB / 444.6 MB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.489e-05/0.4334, allocations: 12 kB / 444.6 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.435e-05/0.4334, allocations: 7.969 kB / 444.6 MB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01069/0.4441, allocations: 6.674 MB / 451.2 MB, free: 3.688 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.4442, allocations: 4.375 kB / 451.3 MB, free: 3.684 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008688/0.445, allocations: 199.9 kB / 451.4 MB, free: 3.488 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002208/0.4473, allocations: 0.887 MB / 452.3 MB, free: 2.582 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00012/0.4474, allocations: 43.98 kB / 452.4 MB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2095/0.6568, allocations: 15.05 MB / 467.4 MB, free: 99.97 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.6569, allocations: 6.906 kB / 467.4 MB, free: 99.96 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006337/0.6632, allocations: 4.736 MB / 472.2 MB, free: 97.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009915/0.6642, allocations: 0.5316 MB / 472.7 MB, free: 97.56 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002591/0.6645, allocations: 33.12 kB / 472.7 MB, free: 97.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008953/0.6654, allocations: 84.88 kB / 472.8 MB, free: 97.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003688/0.6658, allocations: 166.3 kB / 473 MB, free: 97.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.965e-05/0.6659, allocations: 45.39 kB / 473 MB, free: 97.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00182/0.6677, allocations: 1.434 MB / 474.5 MB, free: 96.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6677, allocations: 2.781 kB / 474.5 MB, free: 96.9 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002179/0.6699, allocations: 0.7077 MB / 475.2 MB, free: 96.84 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 94 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 8,(9,33.3%) 19,(1,100.0%) 8,(1,100.0%) 1,(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.0003142/0.6702, allocations: 184.3 kB / 475.3 MB, free: 96.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003929/0.6742, allocations: 3.174 MB / 478.5 MB, free: 95.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.6742, allocations: 3.938 kB / 478.5 MB, free: 95.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00275/0.677, allocations: 2.314 MB / 480.8 MB, free: 93.19 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002405/0.6794, allocations: 0.5832 MB / 481.4 MB, free: 92.63 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009367/0.6888, allocations: 8.199 MB / 489.6 MB, free: 84.42 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00175/0.6905, allocations: 2.744 MB / 492.4 MB, free: 81.65 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001441/0.692, allocations: 475.4 kB / 492.8 MB, free: 81.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003004/0.6923, allocations: 135.4 kB / 493 MB, free: 81.05 MB / 382.1 MB Notification: Performance of SimCode: time 8.01e-07/0.6923, allocations: 8 kB / 493 MB, free: 81.04 MB / 382.1 MB Notification: Performance of Templates: time 0.04844/0.7407, allocations: 35.1 MB / 0.5157 GB, free: 45.89 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.sim & ./Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.pipe 2>&1) Environment - environmentSimulation: