Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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="mat",numberOfIntervals=30000,variableFilter="time|aimc3.is.1.|aimc3.is.2.|aimc3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc3.stator.strayReluctance.port_p.Phi.im|aimc3.stator.strayReluctance.port_p.Phi.re|aimcM.is.1.|aimcM.is.2.|aimcM.is.3.|aimcM.is.4.|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.stator.strayReluctance.port_p.Phi.im|aimcM.stator.strayReluctance.port_p.Phi.re|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc3.is.1.|aimc3.is.2.|aimc3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc3.stator.strayReluctance.port_p.Phi.im|aimc3.stator.strayReluctance.port_p.Phi.re|aimcM.is.1.|aimcM.is.2.|aimcM.is.3.|aimcM.is.4.|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.stator.strayReluctance.port_p.Phi.im|aimcM.stator.strayReluctance.port_p.Phi.re|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_3.2.3_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.001035/0.001035, allocations: 112.3 kB / 18.41 MB, free: 4.691 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.001027/0.001027, allocations: 190.1 kB / 19.35 MB, free: 3.762 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.226/1.226, allocations: 205.1 MB / 225.2 MB, free: 12.24 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.001177/0.001177, allocations: 56.3 kB / 329.2 MB, free: 3.266 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07188/0.07307, allocations: 46.62 MB / 375.9 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase): time 0.173/0.2461, allocations: 23.71 MB / 399.6 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01206/0.2582, allocations: 6.491 MB / 406.1 MB, free: 9.492 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001754/0.26, allocations: 136.4 kB / 406.2 MB, free: 9.457 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003136/0.2631, allocations: 1.65 MB / 407.8 MB, free: 8.547 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004588/0.2677, allocations: 2.287 MB / 410.1 MB, free: 7.027 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002687/0.2704, allocations: 1.432 MB / 411.6 MB, free: 6.098 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01002/0.2804, allocations: 9.865 MB / 421.4 MB, free: 116 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007866/0.2883, allocations: 7.989 MB / 429.4 MB, free: 9.918 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005511/0.2938, allocations: 4.666 MB / 434.1 MB, free: 5.238 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005442/0.2993, allocations: 5.266 MB / 439.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00143/0.3007, allocations: 1.301 MB / 440.6 MB, free: 14.65 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002299/0.303, allocations: 1.504 MB / 442.1 MB, free: 13.15 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002157/0.3052, allocations: 2.953 MB / 445.1 MB, free: 10.19 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004797/0.31, allocations: 5.407 MB / 450.5 MB, free: 4.758 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01378/0.3238, allocations: 17.05 MB / 467.6 MB, free: 3.648 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3238, allocations: 0 / 467.6 MB, free: 3.648 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3238, allocations: 0 / 467.6 MB, free: 3.648 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001925/0.324, allocations: 0 / 467.6 MB, free: 3.648 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.02123/0.3453, allocations: 10.8 MB / 478.4 MB, free: 8.73 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.3453, allocations: 8.031 kB / 478.4 MB, free: 8.723 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009905/0.3552, allocations: 2.079 MB / 480.5 MB, free: 6.637 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008192/0.3634, allocations: 5.604 MB / 486.1 MB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003743/0.3638, allocations: 0.5865 MB / 486.6 MB, free: 384 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001097/0.3649, allocations: 0.7932 MB / 487.4 MB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01647/0.3814, allocations: 11.32 MB / 498.8 MB, free: 4.148 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001546/0.3816, allocations: 15.95 kB / 498.8 MB, free: 4.133 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000711/0.3823, allocations: 332 kB / 499.1 MB, free: 3.809 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002927/0.3826, allocations: 376.3 kB / 499.5 MB, free: 3.438 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01504/0.3977, allocations: 9.878 MB / 0.4974 GB, free: 9.539 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04382/0.4415, allocations: 34.14 MB / 0.5307 GB, free: 6.684 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01722/0.4587, allocations: 19.9 MB / 0.5502 GB, free: 0.75 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2804/0.7392, allocations: 3.656 MB / 0.5537 GB, free: 142.1 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01654/0.7557, allocations: 9.5 MB / 0.563 GB, free: 138 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.22e-05/0.7558, allocations: 70.2 kB / 0.5631 GB, free: 138 MB / 478.1 MB Notification: Performance of pre-optimization done (n=321): time 4.829e-06/0.7558, allocations: 3.625 kB / 0.5631 GB, free: 138 MB / 478.1 MB Notification: Performance of matching and sorting (n=327): time 0.02959/0.7854, allocations: 15.31 MB / 0.578 GB, free: 131.6 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/0.7855, allocations: 84.95 kB / 0.5781 GB, free: 131.5 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005139/0.7906, allocations: 4.41 MB / 0.5824 GB, free: 129.9 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001756/0.7908, allocations: 85.14 kB / 0.5825 GB, free: 129.9 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001497/0.7923, allocations: 3.65 MB / 0.5861 GB, free: 127.6 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005595/0.7929, allocations: 1.149 MB / 0.5872 GB, free: 126.7 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008687/0.7937, allocations: 0.7067 MB / 0.5879 GB, free: 126.4 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 3.265e-05/0.7938, allocations: 301.1 kB / 0.5882 GB, free: 126.1 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002323/0.7961, allocations: 1.842 MB / 0.59 GB, free: 125.4 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002613/0.7987, allocations: 2.926 MB / 0.5928 GB, free: 123.4 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005058/0.8038, allocations: 5.003 MB / 0.5977 GB, free: 120.3 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.274e-05/0.8038, allocations: 11.88 kB / 0.5977 GB, free: 120.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.007466/0.8113, allocations: 6.13 MB / 0.6037 GB, free: 114.3 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/0.8113, allocations: 23.66 kB / 0.6037 GB, free: 114.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.622e-05/0.8114, allocations: 32 kB / 0.6038 GB, free: 114.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001685/0.813, allocations: 0.8496 MB / 0.6046 GB, free: 113.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002804/0.8159, allocations: 0.8326 MB / 0.6054 GB, free: 112.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01076/0.8266, allocations: 16.28 MB / 0.6213 GB, free: 95.27 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002352/0.829, allocations: 175.6 kB / 0.6215 GB, free: 95.11 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002271/0.8292, allocations: 164 kB / 0.6216 GB, free: 94.95 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.003126/0.8324, allocations: 2.592 MB / 0.6242 GB, free: 92.34 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004767/0.8329, allocations: 489 kB / 0.6246 GB, free: 91.86 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007729/0.8406, allocations: 5.699 MB / 0.6302 GB, free: 86.05 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.243e-05/0.8406, allocations: 15.89 kB / 0.6302 GB, free: 86.04 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.8406, allocations: 0 / 0.6302 GB, free: 86.04 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001275/0.8419, allocations: 0.9743 MB / 0.6312 GB, free: 85.04 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005349/0.8425, allocations: 79.98 kB / 0.6312 GB, free: 84.96 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001762/0.8442, allocations: 159.9 kB / 0.6314 GB, free: 84.8 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004995/0.8447, allocations: 358 kB / 0.6317 GB, free: 84.45 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009451/0.8542, allocations: 5.776 MB / 0.6374 GB, free: 78.68 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007247/0.8615, allocations: 6.518 MB / 0.6437 GB, free: 72.11 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002202/0.8637, allocations: 1.964 MB / 0.6457 GB, free: 70.13 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003199/0.8669, allocations: 3.021 MB / 0.6486 GB, free: 67.11 MB / 478.1 MB Notification: Performance of Backend: time 2.91e-07/0.8669, allocations: 3.938 kB / 0.6486 GB, free: 67.1 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005739/0.8726, allocations: 4.388 MB / 0.6529 GB, free: 62.6 MB / 478.1 MB Notification: Performance of SimCode: time 0.01745/0.8901, allocations: 15.57 MB / 0.6681 GB, free: 46.99 MB / 478.1 MB Notification: Performance of Templates: time 0.2608/1.151, allocations: 77.34 MB / 0.7436 GB, free: 165.2 MB / 0.4982 GB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe 2>&1)