Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_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.AIMS_Start_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 86.78 kB / 16.65 MB, free: 6.535 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.001256/0.001256, allocations: 176.8 kB / 17.56 MB, free: 6.18 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.378/1.378, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.0004538/0.000454, allocations: 11.98 kB / 280.7 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0939/0.09436, allocations: 47.59 MB / 328.3 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase): time 0.02769/0.1221, allocations: 26.39 MB / 354.7 MB, free: 9.246 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0181/0.1403, allocations: 7.579 MB / 362.3 MB, free: 1.641 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006305/0.1466, allocations: 159.2 kB / 362.5 MB, free: 1.484 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006622/0.1533, allocations: 1.636 MB / 364.1 MB, free: 15.84 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01164/0.1649, allocations: 2.382 MB / 366.5 MB, free: 13.45 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006645/0.1716, allocations: 1.556 MB / 368 MB, free: 11.89 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2223/0.3939, allocations: 13.38 MB / 381.4 MB, free: 13.54 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01804/0.412, allocations: 9.088 MB / 390.5 MB, free: 11.52 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01101/0.4231, allocations: 4.073 MB / 394.6 MB, free: 10.96 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01181/0.4349, allocations: 5.411 MB / 400 MB, free: 9.832 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003978/0.4389, allocations: 0.666 MB / 400.7 MB, free: 9.832 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007236/0.4462, allocations: 0.8739 MB / 401.5 MB, free: 9.828 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005852/0.4521, allocations: 2.607 MB / 404.1 MB, free: 9.414 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01313/0.4653, allocations: 5.613 MB / 409.7 MB, free: 7.445 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02633/0.4916, allocations: 20.21 MB / 430 MB, free: 7.156 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.4917, allocations: 0 / 430 MB, free: 7.156 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.4917, allocations: 0 / 430 MB, free: 7.156 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0008523/0.4925, allocations: 0 / 430 MB, free: 7.156 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: 2681 * Number of variables: 2681 Notification: Performance of Generate backend data structure: time 0.0338/0.5263, allocations: 11.08 MB / 441 MB, free: 12.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.5264, allocations: 8.031 kB / 441 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01371/0.5401, allocations: 2.33 MB / 443.4 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01788/0.5581, allocations: 7.396 MB / 450.8 MB, free: 2.535 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008826/0.559, allocations: 0.7421 MB / 451.5 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003532/0.5625, allocations: 0.9878 MB / 452.5 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03876/0.6013, allocations: 14.45 MB / 467 MB, free: 2.238 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003844/0.6017, allocations: 11.47 kB / 467 MB, free: 2.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002777/0.6045, allocations: 419.1 kB / 467.4 MB, free: 1.824 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004971/0.605, allocations: 452.4 kB / 467.8 MB, free: 1.379 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02974/0.6348, allocations: 12.58 MB / 480.4 MB, free: 4.801 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08714/0.7219, allocations: 44.37 MB / 0.5125 GB, free: 8.332 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3824/1.104, allocations: 25.08 MB / 0.537 GB, free: 140.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01033/1.115, allocations: 4.998 MB / 0.5418 GB, free: 140.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02335/1.138, allocations: 12.23 MB / 0.5538 GB, free: 134.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.686e-05/1.138, allocations: 80.62 kB / 0.5539 GB, free: 134.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=425): time 5.42e-06/1.138, allocations: 3.938 kB / 0.5539 GB, free: 134.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=431): time 0.04722/1.186, allocations: 22.19 MB / 0.5755 GB, free: 125.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/1.186, allocations: 100 kB / 0.5756 GB, free: 125.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008041/1.194, allocations: 5.4 MB / 0.5809 GB, free: 122.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008068/1.194, allocations: 100.8 kB / 0.581 GB, free: 122.9 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002389/1.197, allocations: 4.457 MB / 0.5853 GB, free: 119 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001559/1.198, allocations: 1.436 MB / 0.5867 GB, free: 117.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005664/1.199, allocations: 413.6 kB / 0.5871 GB, free: 117.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.55e-05/1.199, allocations: 301.1 kB / 0.5874 GB, free: 117.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003384/1.202, allocations: 2.458 MB / 0.5898 GB, free: 114.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003892/1.206, allocations: 3.719 MB / 0.5935 GB, free: 110.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008556/1.215, allocations: 6.389 MB / 0.5997 GB, free: 103.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.236e-05/1.215, allocations: 8 kB / 0.5997 GB, free: 103.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=634) (initialization): time 0.01334/1.228, allocations: 8.282 MB / 0.6078 GB, free: 95.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.389e-05/1.228, allocations: 28.03 kB / 0.6078 GB, free: 95.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.507e-05/1.228, allocations: 37.97 kB / 0.6079 GB, free: 95.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003092/1.232, allocations: 1.528 MB / 0.6093 GB, free: 93.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004073/1.236, allocations: 1.026 MB / 0.6103 GB, free: 92.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01813/1.254, allocations: 26.91 MB / 0.6366 GB, free: 63.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005281/1.259, allocations: 239.9 kB / 0.6369 GB, free: 63.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007997/1.26, allocations: 200 kB / 0.637 GB, free: 63.43 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 166 * Number of states: 0 () * Number of discrete variables: 16 (idealCloser3.control[3],idealCloser3.control[2],idealCloser3.control[1],idealCloserM.control[5],idealCloserM.control[4],idealCloserM.control[3],idealCloserM.control[2],idealCloserM.control[1],rheostat3.booleanStep[3].y,rheostat3.booleanStep[2].y,rheostat3.booleanStep[1].y,rheostatM.booleanStep[5].y,rheostatM.booleanStep[4].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (546): * Single equations (assignments): 530 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 14 * 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): 14 systems {(1,1,100.0%), (1,5,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (1,1,100.0%), (4,22,68.8%), (2,6,100.0%), (2,6,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006526/1.267, allocations: 3.302 MB / 0.6403 GB, free: 60.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001454/1.268, allocations: 0.575 MB / 0.6408 GB, free: 59.53 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01182/1.28, allocations: 8.033 MB / 0.6487 GB, free: 51.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-05/1.28, allocations: 40 kB / 0.6487 GB, free: 51.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.871e-05/1.28, allocations: 31.94 kB / 0.6487 GB, free: 51.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-05/1.28, allocations: 19.92 kB / 0.6488 GB, free: 51.25 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02639/1.306, allocations: 16.77 MB / 0.6651 GB, free: 34.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.601e-05/1.306, allocations: 4 kB / 0.6651 GB, free: 34.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001964/1.308, allocations: 475.6 kB / 0.6656 GB, free: 33.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004833/1.313, allocations: 2.341 MB / 0.6679 GB, free: 31.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004086/1.314, allocations: 95.97 kB / 0.668 GB, free: 31.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2712/1.585, allocations: 34.94 MB / 0.7021 GB, free: 124.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/1.585, allocations: 8.219 kB / 0.7021 GB, free: 124.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02151/1.606, allocations: 11.44 MB / 0.7133 GB, free: 122.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003602/1.61, allocations: 1.198 MB / 0.7144 GB, free: 122 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00155/1.612, allocations: 87.59 kB / 0.7145 GB, free: 121.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003356/1.615, allocations: 256.6 kB / 0.7148 GB, free: 121.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001247/1.616, allocations: 426 kB / 0.7152 GB, free: 121.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003001/1.617, allocations: 126 kB / 0.7153 GB, free: 121.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.006206/1.623, allocations: 3.684 MB / 0.7189 GB, free: 120.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/1.623, allocations: 0 / 0.7189 GB, free: 120.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.009346/1.632, allocations: 1.875 MB / 0.7207 GB, free: 120.3 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (aimsM.inertiaRotor.w,aimsM.stator.core.Phi.re,aimsM.stator.core.Phi.im,aimsM.rotor.zeroInductor.i0,aimsM.rotor.core.Phi.re,aimsM.rotor.core.Phi.im,aims3.inertiaRotor.w,aims3.stator.core.Phi.re,aims3.stator.core.Phi.im,aims3.rotor.zeroInductor.i0,aims3.rotor.core.Phi.re,aims3.rotor.core.Phi.im,quadraticLoadTorqueM.phi,quadraticLoadTorque3.phi) * Number of discrete variables: 16 (rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[4].y,rheostatM.booleanStep[5].y,rheostat3.booleanStep[1].y,rheostat3.booleanStep[2].y,rheostat3.booleanStep[3].y,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 (245): * Single equations (assignments): 232 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,5,100.0%), (6,46,72.2%), (1,1,100.0%), (1,1,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (11,56,49.6%), (1,8,100.0%), (1,8,100.0%), (2,12,100.0%), (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.001017/1.633, allocations: 242 kB / 0.721 GB, free: 120.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01155/1.645, allocations: 8.061 MB / 0.7288 GB, free: 116.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.087e-05/1.645, allocations: 6.094 kB / 0.7288 GB, free: 116.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008614/1.653, allocations: 5.756 MB / 0.7345 GB, free: 112.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01119/1.665, allocations: 1.603 MB / 0.736 GB, free: 112.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03568/1.7, allocations: 23.2 MB / 0.7587 GB, free: 96.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006938/1.707, allocations: 6.367 MB / 0.7649 GB, free: 91.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004683/1.712, allocations: 1.297 MB / 0.7662 GB, free: 90.33 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001013/1.713, allocations: 342.7 kB / 0.7665 GB, free: 90.01 MB / 446.1 MB Notification: Performance of SimCode: time 1.012e-06/1.713, allocations: 0 / 0.7665 GB, free: 90.01 MB / 446.1 MB Notification: Performance of Templates: time 0.1411/1.854, allocations: 94.16 MB / 0.8584 GB, free: 11.93 MB / 462.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe 2>&1)