Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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.1_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.1_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.001006/0.001005, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006516/0.006516, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.386/1.386, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.0004658/0.0004658, allocations: 8 kB / 279.5 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2254, allocations: 47.59 MB / 327 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase): time 0.02713/0.2526, allocations: 26.39 MB / 353.4 MB, free: 8.883 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01961/0.2723, allocations: 7.583 MB / 361 MB, free: 1.273 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005548/0.2779, allocations: 159.2 kB / 361.2 MB, free: 1.117 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006423/0.2843, allocations: 1.624 MB / 362.8 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01143/0.2958, allocations: 2.397 MB / 365.2 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005329/0.3012, allocations: 1.545 MB / 366.7 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01727/0.3184, allocations: 13.39 MB / 380.1 MB, free: 14.08 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01299/0.3315, allocations: 9.101 MB / 389.2 MB, free: 4.867 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007674/0.3392, allocations: 4.069 MB / 393.3 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009558/0.3488, allocations: 5.406 MB / 398.7 MB, free: 11.35 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002883/0.3517, allocations: 0.668 MB / 399.4 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004891/0.3566, allocations: 0.8747 MB / 400.2 MB, free: 9.809 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003745/0.3604, allocations: 2.6 MB / 402.8 MB, free: 7.199 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01092/0.3714, allocations: 5.618 MB / 408.5 MB, free: 1.547 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02182/0.3932, allocations: 20.2 MB / 428.7 MB, free: 13.28 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.317e-06/0.3933, allocations: 0 / 428.7 MB, free: 13.28 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.318e-06/0.3933, allocations: 0 / 428.7 MB, free: 13.28 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0008876/0.3942, allocations: 4 kB / 428.7 MB, free: 13.27 MB / 366.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.03222/0.4264, allocations: 11.09 MB / 439.8 MB, free: 2.07 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.4265, allocations: 12.03 kB / 439.8 MB, free: 2.059 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01369/0.4402, allocations: 2.326 MB / 442.1 MB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01551/0.4557, allocations: 7.393 MB / 449.5 MB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007451/0.4565, allocations: 0.739 MB / 450.2 MB, free: 7.488 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002908/0.4594, allocations: 0.9959 MB / 451.2 MB, free: 6.492 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.397/0.8565, allocations: 14.44 MB / 465.7 MB, free: 91.31 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003573/0.8569, allocations: 8.297 kB / 465.7 MB, free: 91.31 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003139/0.8601, allocations: 415.6 kB / 466.1 MB, free: 90.99 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004311/0.8605, allocations: 453.5 kB / 466.5 MB, free: 90.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02883/0.8893, allocations: 12.58 MB / 479.1 MB, free: 84.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07529/0.9647, allocations: 44.37 MB / 0.5112 GB, free: 42.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01916/0.9839, allocations: 25.08 MB / 0.5357 GB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008088/0.992, allocations: 5.003 MB / 0.5406 GB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02048/1.013, allocations: 12.22 MB / 0.5525 GB, free: 13.54 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.132e-05/1.013, allocations: 89.77 kB / 0.5526 GB, free: 13.45 MB / 398.1 MB Notification: Performance of pre-optimization done (n=425): time 6.212e-06/1.013, allocations: 0 / 0.5526 GB, free: 13.45 MB / 398.1 MB Notification: Performance of matching and sorting (n=431): time 0.05303/1.066, allocations: 22.19 MB / 0.5743 GB, free: 6.844 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.996e-05/1.066, allocations: 94.8 kB / 0.5744 GB, free: 6.738 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008412/1.074, allocations: 5.394 MB / 0.5796 GB, free: 1.363 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007687/1.075, allocations: 105.7 kB / 0.5797 GB, free: 1.254 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003255/1.078, allocations: 4.468 MB / 0.5841 GB, free: 12.81 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00171/1.08, allocations: 1.437 MB / 0.5855 GB, free: 11.38 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000607/1.081, allocations: 420.5 kB / 0.5859 GB, free: 10.96 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/1.081, allocations: 301.1 kB / 0.5862 GB, free: 10.67 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004162/1.085, allocations: 2.457 MB / 0.5886 GB, free: 8.203 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005033/1.09, allocations: 3.707 MB / 0.5922 GB, free: 3.969 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01005/1.1, allocations: 6.397 MB / 0.5985 GB, free: 13.05 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.366e-05/1.1, allocations: 11.94 kB / 0.5985 GB, free: 13.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=634) (initialization): time 0.01584/1.116, allocations: 8.285 MB / 0.6066 GB, free: 4.629 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.36e-05/1.116, allocations: 23.98 kB / 0.6066 GB, free: 4.605 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-05/1.116, allocations: 40 kB / 0.6066 GB, free: 4.566 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003842/1.12, allocations: 1.524 MB / 0.6081 GB, free: 2.996 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004621/1.125, allocations: 1.041 MB / 0.6091 GB, free: 1.953 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2419/1.367, allocations: 26.9 MB / 0.6354 GB, free: 124.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004224/1.371, allocations: 240.9 kB / 0.6356 GB, free: 124.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000365/1.371, allocations: 196.3 kB / 0.6358 GB, free: 124.1 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.004983/1.376, allocations: 3.296 MB / 0.639 GB, free: 122.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00099/1.377, allocations: 0.5809 MB / 0.6396 GB, free: 122.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0113/1.389, allocations: 8.015 MB / 0.6474 GB, free: 119 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.282e-05/1.389, allocations: 42.62 kB / 0.6475 GB, free: 119 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.117e-05/1.389, allocations: 24.97 kB / 0.6475 GB, free: 119 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-05/1.389, allocations: 20.72 kB / 0.6475 GB, free: 119 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02314/1.412, allocations: 16.78 MB / 0.6639 GB, free: 110.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.209e-05/1.412, allocations: 4 kB / 0.6639 GB, free: 110.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001931/1.414, allocations: 471.7 kB / 0.6643 GB, free: 110.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004844/1.419, allocations: 2.344 MB / 0.6666 GB, free: 107.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003443/1.419, allocations: 99.91 kB / 0.6667 GB, free: 107.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02783/1.447, allocations: 34.95 MB / 0.7009 GB, free: 71.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/1.447, allocations: 4.188 kB / 0.7009 GB, free: 71.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01486/1.462, allocations: 11.45 MB / 0.712 GB, free: 60.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003089/1.465, allocations: 1.195 MB / 0.7132 GB, free: 59.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001312/1.466, allocations: 91.92 kB / 0.7133 GB, free: 59.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003038/1.469, allocations: 251.8 kB / 0.7135 GB, free: 58.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001116/1.47, allocations: 423.2 kB / 0.7139 GB, free: 58.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002607/1.471, allocations: 119.9 kB / 0.7141 GB, free: 58.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005403/1.476, allocations: 3.686 MB / 0.7177 GB, free: 54.61 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.82e-07/1.476, allocations: 4 kB / 0.7177 GB, free: 54.61 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007639/1.484, allocations: 1.871 MB / 0.7195 GB, free: 52.73 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.0008661/1.485, allocations: 250.5 kB / 0.7197 GB, free: 52.49 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01001/1.495, allocations: 8.067 MB / 0.7276 GB, free: 44.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/1.495, allocations: 4 kB / 0.7276 GB, free: 44.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007194/1.502, allocations: 5.75 MB / 0.7332 GB, free: 38.29 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009833/1.512, allocations: 1.599 MB / 0.7348 GB, free: 36.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03058/1.542, allocations: 23.2 MB / 0.7574 GB, free: 13.44 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006257/1.549, allocations: 6.378 MB / 0.7637 GB, free: 7.023 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004717/1.553, allocations: 1.295 MB / 0.7649 GB, free: 5.723 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009233/1.554, allocations: 343.4 kB / 0.7653 GB, free: 5.387 MB / 446.1 MB Notification: Performance of SimCode: time 1.122e-06/1.554, allocations: 0 / 0.7653 GB, free: 5.387 MB / 446.1 MB Notification: Performance of Templates: time 0.3821/1.936, allocations: 94.13 MB / 0.8572 GB, free: 92.1 MB / 462.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.sim & ./Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe 2>&1)