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.006557/0.006557, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001407/0.001407, allocations: 193.2 kB / 16.67 MB, free: 5.938 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.404/1.404, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.001061/0.001061, allocations: 55.2 kB / 326.6 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08174/0.08281, allocations: 46.62 MB / 373.2 MB, free: 1.293 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase): time 0.02535/0.1082, allocations: 23.71 MB / 396.9 MB, free: 9.484 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01631/0.1246, allocations: 6.496 MB / 403.4 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00457/0.1292, allocations: 143.4 kB / 403.5 MB, free: 2.828 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005785/0.135, allocations: 1.595 MB / 405.1 MB, free: 1.223 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008622/0.1437, allocations: 2.197 MB / 407.3 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004507/0.1482, allocations: 1.431 MB / 408.8 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01366/0.1619, allocations: 9.857 MB / 418.6 MB, free: 3.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01378/0.1757, allocations: 7.988 MB / 426.6 MB, free: 11.59 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01058/0.1863, allocations: 4.631 MB / 431.2 MB, free: 6.941 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009588/0.1959, allocations: 5.266 MB / 436.5 MB, free: 1.656 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003687/0.1997, allocations: 1.301 MB / 437.8 MB, free: 364 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005383/0.2051, allocations: 1.508 MB / 439.3 MB, free: 14.85 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004684/0.2098, allocations: 2.949 MB / 442.3 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009608/0.2194, allocations: 5.411 MB / 447.7 MB, free: 6.457 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2356/0.4551, allocations: 17.05 MB / 464.7 MB, free: 31.85 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.143e-05/0.4552, allocations: 1.031 kB / 464.7 MB, free: 31.85 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.4552, allocations: 0 / 464.7 MB, free: 31.85 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0009059/0.4561, allocations: 0 / 464.7 MB, free: 31.85 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.03994/0.496, allocations: 10.78 MB / 475.5 MB, free: 27.12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.705e-05/0.4961, allocations: 19.77 kB / 475.5 MB, free: 27.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01334/0.5095, allocations: 2.08 MB / 477.6 MB, free: 26.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01519/0.5247, allocations: 5.608 MB / 483.2 MB, free: 24.03 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007689/0.5255, allocations: 0.593 MB / 483.8 MB, free: 23.76 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004534/0.5301, allocations: 0.7858 MB / 484.6 MB, free: 23.49 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03769/0.5678, allocations: 11.32 MB / 495.9 MB, free: 16.83 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003005/0.5681, allocations: 19.41 kB / 495.9 MB, free: 16.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003202/0.5713, allocations: 334 kB / 496.3 MB, free: 16.56 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003264/0.5717, allocations: 378.9 kB / 496.6 MB, free: 16.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02324/0.5949, allocations: 9.875 MB / 0.4946 GB, free: 8.062 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08042/0.6754, allocations: 34.14 MB / 0.528 GB, free: 5.984 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02266/0.6981, allocations: 19.9 MB / 0.5474 GB, free: 80 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008325/0.7065, allocations: 3.664 MB / 0.551 GB, free: 12.4 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02266/0.7292, allocations: 9.502 MB / 0.5603 GB, free: 2.922 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.696e-05/0.7293, allocations: 81.03 kB / 0.5603 GB, free: 2.832 MB / 446.1 MB Notification: Performance of pre-optimization done (n=321): time 5.3e-06/0.7293, allocations: 0 / 0.5603 GB, free: 2.832 MB / 446.1 MB Notification: Performance of matching and sorting (n=327): time 0.04082/0.7701, allocations: 15.31 MB / 0.5753 GB, free: 3.273 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.401e-05/0.7703, allocations: 85.98 kB / 0.5754 GB, free: 3.176 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01197/0.7822, allocations: 4.405 MB / 0.5797 GB, free: 14.75 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009005/0.7832, allocations: 85.69 kB / 0.5797 GB, free: 14.66 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003634/0.7868, allocations: 3.639 MB / 0.5833 GB, free: 11.02 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001956/0.7888, allocations: 1.163 MB / 0.5844 GB, free: 9.867 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002637/0.7915, allocations: 0.6969 MB / 0.5851 GB, free: 9.164 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.302e-05/0.7916, allocations: 301.1 kB / 0.5854 GB, free: 8.867 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003622/0.7952, allocations: 1.844 MB / 0.5872 GB, free: 7.023 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004459/0.7997, allocations: 2.921 MB / 0.5901 GB, free: 3.664 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008174/0.8079, allocations: 5.01 MB / 0.595 GB, free: 14.31 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.835e-05/0.808, allocations: 8 kB / 0.595 GB, free: 14.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.01261/0.8206, allocations: 6.136 MB / 0.601 GB, free: 8.309 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.266e-05/0.8207, allocations: 16.81 kB / 0.601 GB, free: 8.293 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.417e-05/0.8207, allocations: 39.75 kB / 0.601 GB, free: 8.258 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00243/0.8232, allocations: 0.8493 MB / 0.6018 GB, free: 7.387 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003603/0.8268, allocations: 0.828 MB / 0.6026 GB, free: 6.609 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01754/0.8444, allocations: 16.29 MB / 0.6186 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005166/0.8496, allocations: 175.9 kB / 0.6187 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001067/0.8507, allocations: 164 kB / 0.6189 GB, free: 5.09 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.007452/0.8581, allocations: 2.59 MB / 0.6214 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001872/0.86, allocations: 484.9 kB / 0.6219 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01426/0.8743, allocations: 5.692 MB / 0.6274 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.799e-05/0.8744, allocations: 32 kB / 0.6275 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.894e-05/0.8745, allocations: 22.41 kB / 0.6275 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.36e-05/0.8746, allocations: 19.88 kB / 0.6275 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2718/1.146, allocations: 12.69 MB / 0.6399 GB, free: 187.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.658e-05/1.147, allocations: 3.219 kB / 0.6399 GB, free: 187.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002072/1.149, allocations: 378.9 kB / 0.6403 GB, free: 187.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004044/1.153, allocations: 1.449 MB / 0.6417 GB, free: 187.2 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004865/1.153, allocations: 92.59 kB / 0.6418 GB, free: 187.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03572/1.189, allocations: 26.46 MB / 0.6676 GB, free: 169.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.876e-06/1.189, allocations: 4.562 kB / 0.6676 GB, free: 169.5 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01986/1.209, allocations: 8.184 MB / 0.6756 GB, free: 166 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002748/1.212, allocations: 0.9814 MB / 0.6766 GB, free: 165.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001482/1.213, allocations: 78.8 kB / 0.6766 GB, free: 165.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003057/1.216, allocations: 166.1 kB / 0.6768 GB, free: 165.5 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008528/1.217, allocations: 322.6 kB / 0.6771 GB, free: 165.4 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000291/1.217, allocations: 92.34 kB / 0.6772 GB, free: 165.4 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005723/1.223, allocations: 3.024 MB / 0.6801 GB, free: 164.3 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/1.223, allocations: 5.469 kB / 0.6801 GB, free: 164.3 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006912/1.23, allocations: 1.44 MB / 0.6815 GB, free: 164.2 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.0007297/1.231, allocations: 220.7 kB / 0.6818 GB, free: 164 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008688/1.239, allocations: 5.725 MB / 0.6873 GB, free: 160 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/1.24, allocations: 0 / 0.6873 GB, free: 160 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005939/1.245, allocations: 4.117 MB / 0.6914 GB, free: 156.3 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008332/1.254, allocations: 1.242 MB / 0.6926 GB, free: 155.3 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02853/1.282, allocations: 14.7 MB / 0.7069 GB, free: 140.9 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008065/1.29, allocations: 5.104 MB / 0.7119 GB, free: 135.8 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004158/1.295, allocations: 1.015 MB / 0.7129 GB, free: 134.8 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001297/1.296, allocations: 283.4 kB / 0.7132 GB, free: 134.5 MB / 0.5137 GB Notification: Performance of SimCode: time 6.32e-07/1.296, allocations: 0 / 0.7132 GB, free: 134.5 MB / 0.5137 GB Notification: Performance of Templates: time 0.1031/1.399, allocations: 71.11 MB / 0.7826 GB, free: 63.38 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)