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.005647/0.005646, allocations: 100.7 kB / 15.73 MB, free: 6.039 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.001095/0.001095, allocations: 188.9 kB / 16.67 MB, free: 5.973 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.367/1.367, allocations: 205.1 MB / 222.5 MB, free: 4.375 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.001149/0.001149, allocations: 46.12 kB / 326.6 MB, free: 14.44 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08922/0.09037, allocations: 46.63 MB / 373.2 MB, free: 1.285 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase): time 0.02451/0.1149, allocations: 23.7 MB / 396.9 MB, free: 9.477 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01405/0.129, allocations: 6.499 MB / 403.4 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005012/0.1341, allocations: 135.4 kB / 403.5 MB, free: 2.824 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005342/0.1395, allocations: 1.65 MB / 405.2 MB, free: 1.164 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007536/0.1471, allocations: 2.283 MB / 407.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004394/0.1515, allocations: 1.435 MB / 408.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01237/0.1639, allocations: 9.861 MB / 418.8 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01255/0.1765, allocations: 7.992 MB / 426.7 MB, free: 11.43 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007654/0.1842, allocations: 4.666 MB / 431.4 MB, free: 6.75 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008937/0.1931, allocations: 5.266 MB / 436.7 MB, free: 1.465 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0039/0.1971, allocations: 1.301 MB / 438 MB, free: 168 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0049/0.202, allocations: 1.508 MB / 439.5 MB, free: 14.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004833/0.2069, allocations: 2.949 MB / 442.4 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009873/0.2168, allocations: 5.407 MB / 447.8 MB, free: 6.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2095/0.4263, allocations: 17 MB / 464.8 MB, free: 32.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.4264, allocations: 0 / 464.8 MB, free: 32.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.4264, allocations: 1.781 kB / 464.8 MB, free: 32.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006404/0.427, allocations: 1.094 kB / 464.8 MB, free: 32.04 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.0405/0.4675, allocations: 10.56 MB / 475.4 MB, free: 27.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.4676, allocations: 17.05 kB / 475.4 MB, free: 27.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01301/0.4806, allocations: 2.034 MB / 477.5 MB, free: 26.71 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01202/0.4927, allocations: 5.579 MB / 483 MB, free: 24.55 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000515/0.4932, allocations: 0.5899 MB / 483.6 MB, free: 24.28 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003527/0.4968, allocations: 0.7917 MB / 484.4 MB, free: 24 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02974/0.5265, allocations: 11.33 MB / 495.7 MB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003628/0.5269, allocations: 11.88 kB / 495.8 MB, free: 17.33 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002442/0.5294, allocations: 330.2 kB / 496.1 MB, free: 17.08 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003415/0.5297, allocations: 385.7 kB / 496.5 MB, free: 17.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02276/0.5525, allocations: 9.874 MB / 0.4945 GB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07125/0.6238, allocations: 34.04 MB / 0.5277 GB, free: 6.566 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02255/0.6464, allocations: 19.89 MB / 0.5471 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006619/0.653, allocations: 3.682 MB / 0.5507 GB, free: 13 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0215/0.6746, allocations: 9.487 MB / 0.56 GB, free: 3.527 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.666e-05/0.6747, allocations: 69.03 kB / 0.5601 GB, free: 3.449 MB / 446.1 MB Notification: Performance of pre-optimization done (n=321): time 4.99e-06/0.6747, allocations: 4 kB / 0.5601 GB, free: 3.445 MB / 446.1 MB Notification: Performance of matching and sorting (n=327): time 0.03736/0.712, allocations: 15.2 MB / 0.5749 GB, free: 3.984 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.382e-05/0.7122, allocations: 81.98 kB / 0.575 GB, free: 3.891 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01012/0.7223, allocations: 4.408 MB / 0.5793 GB, free: 15.46 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006671/0.723, allocations: 81.7 kB / 0.5794 GB, free: 15.38 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002984/0.726, allocations: 3.547 MB / 0.5828 GB, free: 11.81 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001467/0.7275, allocations: 1.108 MB / 0.5839 GB, free: 10.71 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002024/0.7295, allocations: 0.6927 MB / 0.5846 GB, free: 10.02 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.409e-05/0.7296, allocations: 305.1 kB / 0.5849 GB, free: 9.715 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003566/0.7332, allocations: 1.839 MB / 0.5867 GB, free: 7.875 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004347/0.7375, allocations: 2.929 MB / 0.5895 GB, free: 4.508 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007473/0.745, allocations: 4.998 MB / 0.5944 GB, free: 15.17 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.11e-05/0.7451, allocations: 10.41 kB / 0.5944 GB, free: 15.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.01125/0.7563, allocations: 6.115 MB / 0.6004 GB, free: 9.184 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.203e-05/0.7564, allocations: 20 kB / 0.6004 GB, free: 9.164 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.819e-05/0.7565, allocations: 32.81 kB / 0.6004 GB, free: 9.133 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002239/0.7587, allocations: 0.8464 MB / 0.6013 GB, free: 8.262 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003375/0.7621, allocations: 0.836 MB / 0.6021 GB, free: 7.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01603/0.7782, allocations: 16.27 MB / 0.618 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004874/0.7831, allocations: 171.8 kB / 0.6181 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001031/0.7841, allocations: 164 kB / 0.6183 GB, free: 5.98 MB / 0.4981 GB 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.00625/0.7904, allocations: 2.589 MB / 0.6208 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001368/0.7918, allocations: 458.4 kB / 0.6213 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01109/0.8029, allocations: 5.69 MB / 0.6268 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.43e-05/0.8029, allocations: 32 kB / 0.6268 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.076e-05/0.803, allocations: 20 kB / 0.6269 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.993e-05/0.803, allocations: 19.88 kB / 0.6269 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02627/0.8293, allocations: 12.7 MB / 0.6393 GB, free: 412 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.197e-05/0.8293, allocations: 11.92 kB / 0.6393 GB, free: 400 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001863/0.8312, allocations: 385.1 kB / 0.6397 GB, free: 36 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2176/1.049, allocations: 1.437 MB / 0.6411 GB, free: 189.5 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005625/1.049, allocations: 94.67 kB / 0.6412 GB, free: 189.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02453/1.074, allocations: 26.44 MB / 0.667 GB, free: 171.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/1.074, allocations: 3.969 kB / 0.667 GB, free: 171.8 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01168/1.086, allocations: 8.159 MB / 0.6749 GB, free: 168.3 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002473/1.088, allocations: 0.9534 MB / 0.6759 GB, free: 167.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006052/1.089, allocations: 85.58 kB / 0.676 GB, free: 167.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002018/1.091, allocations: 164.8 kB / 0.6761 GB, free: 167.8 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007876/1.092, allocations: 323.4 kB / 0.6764 GB, free: 167.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001831/1.092, allocations: 94.64 kB / 0.6765 GB, free: 167.7 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004152/1.096, allocations: 3.018 MB / 0.6795 GB, free: 166.6 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/1.096, allocations: 3.031 kB / 0.6795 GB, free: 166.6 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004997/1.101, allocations: 1.443 MB / 0.6809 GB, free: 166.5 MB / 0.5137 GB 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.0005055/1.102, allocations: 217.9 kB / 0.6811 GB, free: 166.3 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007717/1.109, allocations: 5.722 MB / 0.6867 GB, free: 161.4 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/1.109, allocations: 0 / 0.6867 GB, free: 161.4 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005377/1.115, allocations: 4.104 MB / 0.6907 GB, free: 157.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00707/1.122, allocations: 1.253 MB / 0.6919 GB, free: 156.7 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02631/1.148, allocations: 14.46 MB / 0.706 GB, free: 142.6 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007233/1.155, allocations: 5.096 MB / 0.711 GB, free: 137.5 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004092/1.159, allocations: 1.015 MB / 0.712 GB, free: 136.5 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001231/1.161, allocations: 283.4 kB / 0.7123 GB, free: 136.2 MB / 0.5137 GB Notification: Performance of SimCode: time 6.61e-07/1.161, allocations: 0 / 0.7123 GB, free: 136.2 MB / 0.5137 GB Notification: Performance of Templates: time 0.1189/1.28, allocations: 71.11 MB / 0.7817 GB, free: 65.09 MB / 0.5137 GB 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)