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.0008325/0.0008325, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.007354/0.007354, allocations: 169.3 kB / 16.26 MB, free: 6.652 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.391/1.391, allocations: 205.4 MB / 222.5 MB, free: 5.555 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.0004472/0.0004472, allocations: 14.81 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2293, allocations: 47.58 MB / 327 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase): time 0.02159/0.2509, allocations: 22.41 MB / 349.4 MB, free: 12.87 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01243/0.2634, allocations: 6.352 MB / 355.8 MB, free: 6.5 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003418/0.2669, allocations: 131.4 kB / 355.9 MB, free: 6.371 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003273/0.2702, allocations: 1.36 MB / 357.3 MB, free: 5.004 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005543/0.2757, allocations: 1.997 MB / 359.3 MB, free: 2.996 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002978/0.2787, allocations: 1.287 MB / 360.6 MB, free: 1.707 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01248/0.2912, allocations: 10.53 MB / 371.1 MB, free: 7.133 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007611/0.2988, allocations: 6.567 MB / 377.7 MB, free: 476 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004295/0.3032, allocations: 3.162 MB / 380.8 MB, free: 13.29 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005698/0.3089, allocations: 4.224 MB / 385.1 MB, free: 9.047 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001162/0.3101, allocations: 0.5156 MB / 385.6 MB, free: 8.531 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002315/0.3124, allocations: 0.7185 MB / 386.3 MB, free: 7.812 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001709/0.3141, allocations: 2.02 MB / 388.3 MB, free: 5.785 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005188/0.3193, allocations: 4.413 MB / 392.7 MB, free: 1.344 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0149/0.3342, allocations: 15.87 MB / 408.6 MB, free: 1.422 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.3343, allocations: 0 / 408.6 MB, free: 1.422 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.866e-06/0.3343, allocations: 0 / 408.6 MB, free: 1.422 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0004722/0.3348, allocations: 0 / 408.6 MB, free: 1.422 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.02244/0.3572, allocations: 8.871 MB / 417.5 MB, free: 8.449 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.3573, allocations: 16.02 kB / 417.5 MB, free: 8.434 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01082/0.3681, allocations: 2.047 MB / 419.5 MB, free: 6.375 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009345/0.3775, allocations: 5.398 MB / 424.9 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004078/0.3779, allocations: 0.5904 MB / 425.5 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001435/0.3793, allocations: 0.7929 MB / 426.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02137/0.4007, allocations: 11.34 MB / 437.6 MB, free: 4.062 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000169/0.4009, allocations: 7.906 kB / 437.7 MB, free: 4.055 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000804/0.4018, allocations: 332 kB / 438 MB, free: 3.73 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002984/0.4021, allocations: 380.3 kB / 438.4 MB, free: 3.355 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0178/0.4199, allocations: 9.929 MB / 448.3 MB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4491/0.869, allocations: 34.7 MB / 483 MB, free: 82.63 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01733/0.8864, allocations: 19.91 MB / 0.4911 GB, free: 64.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006697/0.8931, allocations: 3.776 MB / 0.4948 GB, free: 61.17 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01616/0.9093, allocations: 9.558 MB / 0.5041 GB, free: 51.6 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.422e-05/0.9094, allocations: 65.09 kB / 0.5042 GB, free: 51.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=321): time 6.102e-06/0.9094, allocations: 0 / 0.5042 GB, free: 51.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=327): time 0.02969/0.9391, allocations: 15.41 MB / 0.5192 GB, free: 35.78 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.9392, allocations: 81.98 kB / 0.5193 GB, free: 35.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005419/0.9446, allocations: 4.408 MB / 0.5236 GB, free: 31.26 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003909/0.945, allocations: 85.7 kB / 0.5237 GB, free: 31.17 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001539/0.9466, allocations: 3.545 MB / 0.5272 GB, free: 27.6 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000711/0.9473, allocations: 1.103 MB / 0.5282 GB, free: 26.51 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003577/0.9477, allocations: 326.1 kB / 0.5285 GB, free: 26.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.602e-05/0.9477, allocations: 305.1 kB / 0.5288 GB, free: 25.88 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002525/0.9503, allocations: 1.862 MB / 0.5307 GB, free: 24.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002854/0.9531, allocations: 2.961 MB / 0.5336 GB, free: 20.61 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005576/0.9587, allocations: 5.04 MB / 0.5385 GB, free: 15.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-05/0.9588, allocations: 12 kB / 0.5385 GB, free: 15.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.008956/0.9677, allocations: 6.161 MB / 0.5445 GB, free: 8.828 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.732e-05/0.9678, allocations: 16 kB / 0.5445 GB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.447e-05/0.9678, allocations: 32 kB / 0.5445 GB, free: 8.781 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001893/0.9697, allocations: 0.8517 MB / 0.5454 GB, free: 7.902 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003108/0.9729, allocations: 0.8385 MB / 0.5462 GB, free: 7.062 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01345/0.9863, allocations: 15.01 MB / 0.5609 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003519/0.9899, allocations: 191.8 kB / 0.561 GB, free: 6.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000555/0.9905, allocations: 168 kB / 0.5612 GB, free: 6.766 MB / 398.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.004718/0.9952, allocations: 2.589 MB / 0.5637 GB, free: 4.164 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001042/0.9962, allocations: 458.5 kB / 0.5642 GB, free: 3.711 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01064/1.007, allocations: 5.745 MB / 0.5698 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-05/1.007, allocations: 32 kB / 0.5698 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.21e-05/1.007, allocations: 20 kB / 0.5698 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.663e-05/1.007, allocations: 15.94 kB / 0.5698 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02415/1.031, allocations: 12.74 MB / 0.5823 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.371e-05/1.031, allocations: 4.438 kB / 0.5823 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001717/1.033, allocations: 391.4 kB / 0.5827 GB, free: 0.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003823/1.037, allocations: 1.458 MB / 0.5841 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003423/1.037, allocations: 91.95 kB / 0.5842 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02637/1.064, allocations: 24.31 MB / 0.6079 GB, free: 5.445 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/1.064, allocations: 4 kB / 0.6079 GB, free: 5.441 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2041/1.268, allocations: 8.223 MB / 0.6159 GB, free: 148.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002797/1.271, allocations: 0.9631 MB / 0.6169 GB, free: 148.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001137/1.272, allocations: 83.95 kB / 0.617 GB, free: 148.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002851/1.275, allocations: 184 kB / 0.6171 GB, free: 148.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008653/1.275, allocations: 324.5 kB / 0.6174 GB, free: 148.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002343/1.276, allocations: 92.5 kB / 0.6175 GB, free: 148.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005705/1.281, allocations: 3.024 MB / 0.6205 GB, free: 148.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.91e-07/1.281, allocations: 2.391 kB / 0.6205 GB, free: 148.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005819/1.287, allocations: 1.442 MB / 0.6219 GB, free: 148 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.0006601/1.288, allocations: 222.5 kB / 0.6221 GB, free: 147.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008182/1.296, allocations: 5.744 MB / 0.6277 GB, free: 145.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.887e-06/1.296, allocations: 3.812 kB / 0.6277 GB, free: 145.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005671/1.302, allocations: 4.141 MB / 0.6318 GB, free: 142.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007861/1.31, allocations: 1.186 MB / 0.6329 GB, free: 142.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02422/1.334, allocations: 18.19 MB / 0.6507 GB, free: 129.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004831/1.339, allocations: 5.097 MB / 0.6557 GB, free: 124.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003573/1.342, allocations: 1.019 MB / 0.6567 GB, free: 123.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007902/1.343, allocations: 283.4 kB / 0.6569 GB, free: 123.6 MB / 446.1 MB Notification: Performance of SimCode: time 1.022e-06/1.343, allocations: 0 / 0.6569 GB, free: 123.6 MB / 446.1 MB Notification: Performance of Templates: time 0.1048/1.448, allocations: 70.04 MB / 0.7253 GB, free: 53.45 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)