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.001066/0.001067, allocations: 91.02 kB / 16.31 MB, free: 5.66 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.001371/0.001371, allocations: 179.3 kB / 17.21 MB, free: 5.578 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.532/1.532, allocations: 205.4 MB / 223.4 MB, free: 5.457 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.0004226/0.0004227, allocations: 12 kB / 280.1 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2629/0.2633, allocations: 47.59 MB / 327.7 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase): time 0.02294/0.2863, allocations: 20.85 MB / 348.6 MB, free: 14.59 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01434/0.3007, allocations: 6.112 MB / 354.7 MB, free: 8.457 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004828/0.3056, allocations: 127.4 kB / 354.8 MB, free: 8.332 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004791/0.3104, allocations: 1.13 MB / 356 MB, free: 7.195 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008199/0.3186, allocations: 1.841 MB / 357.8 MB, free: 5.344 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004461/0.3231, allocations: 0.9435 MB / 358.7 MB, free: 4.398 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01496/0.3381, allocations: 9.881 MB / 368.6 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0123/0.3504, allocations: 5.648 MB / 374.3 MB, free: 4.77 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006136/0.3566, allocations: 3.125 MB / 377.4 MB, free: 1.633 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00736/0.364, allocations: 4.066 MB / 381.5 MB, free: 13.55 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001603/0.3656, allocations: 0.5156 MB / 382 MB, free: 13.03 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002566/0.3682, allocations: 0.699 MB / 382.7 MB, free: 12.33 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00193/0.3702, allocations: 2.001 MB / 384.7 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003084/0.3732, allocations: 1.829 MB / 386.5 MB, free: 8.484 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01442/0.3877, allocations: 13.93 MB / 400.4 MB, free: 10.52 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3877, allocations: 0 / 400.4 MB, free: 10.52 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.529e-06/0.3877, allocations: 0 / 400.4 MB, free: 10.52 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0005506/0.3883, allocations: 3.938 kB / 400.4 MB, free: 10.52 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.02446/0.4128, allocations: 8.964 MB / 409.4 MB, free: 1.453 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.4128, allocations: 8.031 kB / 409.4 MB, free: 1.445 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01207/0.4249, allocations: 2.05 MB / 411.5 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01309/0.438, allocations: 5.26 MB / 416.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007436/0.4388, allocations: 0.5862 MB / 417.3 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002673/0.4415, allocations: 0.7927 MB / 418.1 MB, free: 8.672 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02772/0.4692, allocations: 11.29 MB / 429.4 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003287/0.4696, allocations: 15.89 kB / 429.4 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001841/0.4715, allocations: 328 kB / 429.7 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004708/0.472, allocations: 376.3 kB / 430.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02353/0.4955, allocations: 9.867 MB / 440 MB, free: 2.68 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3653/0.8609, allocations: 34.67 MB / 474.6 MB, free: 84.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01398/0.8749, allocations: 19.89 MB / 494.5 MB, free: 66.8 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004654/0.8796, allocations: 3.766 MB / 498.3 MB, free: 64.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01265/0.8923, allocations: 9.56 MB / 0.4959 GB, free: 58.67 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.062e-05/0.8923, allocations: 72.06 kB / 0.496 GB, free: 58.6 MB / 382.1 MB Notification: Performance of pre-optimization done (n=321): time 5.049e-06/0.8923, allocations: 3.984 kB / 0.496 GB, free: 58.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=327): time 0.02802/0.9204, allocations: 15.52 MB / 0.5112 GB, free: 44.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.9205, allocations: 89.73 kB / 0.5112 GB, free: 44.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00509/0.9256, allocations: 4.373 MB / 0.5155 GB, free: 39.79 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002377/0.9258, allocations: 85.7 kB / 0.5156 GB, free: 39.7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001592/0.9274, allocations: 3.546 MB / 0.5191 GB, free: 36.13 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006162/0.928, allocations: 1.1 MB / 0.5201 GB, free: 35.04 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001815/0.9282, allocations: 80 kB / 0.5202 GB, free: 34.96 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.9284, allocations: 462.4 kB / 0.5207 GB, free: 34.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002365/0.9308, allocations: 1.85 MB / 0.5225 GB, free: 32.65 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002679/0.9334, allocations: 2.938 MB / 0.5253 GB, free: 29.26 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00278/0.9362, allocations: 2.337 MB / 0.5276 GB, free: 26.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-05/0.9363, allocations: 16 kB / 0.5276 GB, free: 26.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.007948/0.9442, allocations: 6.122 MB / 0.5336 GB, free: 20.69 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.154e-05/0.9443, allocations: 20 kB / 0.5336 GB, free: 20.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.218e-05/0.9443, allocations: 32 kB / 0.5337 GB, free: 20.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001731/0.946, allocations: 0.8519 MB / 0.5345 GB, free: 19.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002841/0.9489, allocations: 0.8307 MB / 0.5353 GB, free: 18.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01096/0.9599, allocations: 15 MB / 0.5499 GB, free: 2.992 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003033/0.9629, allocations: 195.8 kB / 0.5501 GB, free: 2.801 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004632/0.9634, allocations: 160 kB / 0.5503 GB, free: 2.645 MB / 382.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 (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 (439): * Single equations (assignments): 430 * 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,(3,100.0%) 23,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2,(4,56.2%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005138/0.9685, allocations: 2.593 MB / 0.5528 GB, free: 40 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001191/0.9697, allocations: 454.6 kB / 0.5533 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01057/0.9803, allocations: 5.725 MB / 0.5588 GB, free: 9.746 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-05/0.9804, allocations: 32 kB / 0.5589 GB, free: 9.715 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.993e-05/0.9804, allocations: 24 kB / 0.5589 GB, free: 9.691 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.891e-05/0.9805, allocations: 15.94 kB / 0.5589 GB, free: 9.676 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02349/1.004, allocations: 12.71 MB / 0.5713 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.349e-05/1.004, allocations: 8.391 kB / 0.5713 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001665/1.006, allocations: 391.4 kB / 0.5717 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00344/1.009, allocations: 1.445 MB / 0.5731 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002293/1.009, allocations: 95.95 kB / 0.5732 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02719/1.037, allocations: 24.25 MB / 0.5969 GB, free: 1.438 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/1.037, allocations: 4.078 kB / 0.5969 GB, free: 1.434 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01431/1.051, allocations: 8.204 MB / 0.6049 GB, free: 9.039 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003122/1.054, allocations: 0.9601 MB / 0.6058 GB, free: 8.055 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001625/1.056, allocations: 75.98 kB / 0.6059 GB, free: 7.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002812/1.059, allocations: 192 kB / 0.6061 GB, free: 7.793 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009004/1.059, allocations: 321.8 kB / 0.6064 GB, free: 7.477 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002384/1.06, allocations: 99.97 kB / 0.6065 GB, free: 7.379 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005434/1.065, allocations: 2.99 MB / 0.6094 GB, free: 4.387 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.71e-07/1.065, allocations: 0 / 0.6094 GB, free: 4.387 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006041/1.071, allocations: 1.438 MB / 0.6108 GB, free: 2.949 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 (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 {(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 12,(1,100.0%) 1,(3,100.0%) 23,(6,72.2%) 46,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006375/1.072, allocations: 216.2 kB / 0.611 GB, free: 2.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.1902/1.262, allocations: 5.718 MB / 0.6166 GB, free: 153.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.056e-05/1.262, allocations: 2.719 kB / 0.6166 GB, free: 153.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006815/1.269, allocations: 4.131 MB / 0.6206 GB, free: 152.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006302/1.275, allocations: 1.203 MB / 0.6218 GB, free: 152.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02634/1.302, allocations: 17.34 MB / 0.6388 GB, free: 143.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006381/1.308, allocations: 5.102 MB / 0.6437 GB, free: 141.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.005678/1.314, allocations: 1.018 MB / 0.6447 GB, free: 140.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001362/1.315, allocations: 283.4 kB / 0.645 GB, free: 140.1 MB / 446.1 MB Notification: Performance of SimCode: time 1.293e-06/1.315, allocations: 0 / 0.645 GB, free: 140.1 MB / 446.1 MB Notification: Performance of Templates: time 0.1098/1.425, allocations: 68.46 MB / 0.7119 GB, free: 71.56 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)