Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001074/0.001074, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001187/0.001187, allocations: 195.3 kB / 16.14 MB, free: 6.707 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.413/1.413, allocations: 205.1 MB / 222 MB, free: 4.957 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.001174/0.001175, allocations: 47.92 kB / 278.1 MB, free: 12.99 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.194/0.1952, allocations: 46.63 MB / 324.7 MB, free: 1.816 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase): time 0.02619/0.2215, allocations: 27.47 MB / 352.2 MB, free: 8.617 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01545/0.2369, allocations: 7.626 MB / 359.8 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006365/0.2433, allocations: 159.2 kB / 359.9 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006165/0.2496, allocations: 1.632 MB / 361.6 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01002/0.2596, allocations: 2.413 MB / 364 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005184/0.2648, allocations: 1.56 MB / 365.5 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01718/0.282, allocations: 13.4 MB / 378.9 MB, free: 13.72 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01118/0.2933, allocations: 9.163 MB / 388.1 MB, free: 4.445 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006697/0.3, allocations: 4.686 MB / 392.8 MB, free: 15.74 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008788/0.3088, allocations: 6.191 MB / 399 MB, free: 9.527 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002902/0.3118, allocations: 0.9492 MB / 399.9 MB, free: 8.578 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004395/0.3162, allocations: 1.152 MB / 401.1 MB, free: 7.426 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003473/0.3196, allocations: 3.025 MB / 404.1 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.011/0.3307, allocations: 6.104 MB / 410.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02066/0.3514, allocations: 20.89 MB / 431.1 MB, free: 9.309 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.3514, allocations: 4 kB / 431.1 MB, free: 9.305 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.3514, allocations: 0 / 431.1 MB, free: 9.305 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0006696/0.3521, allocations: 0 / 431.1 MB, free: 9.305 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.03958/0.3917, allocations: 13.17 MB / 444.3 MB, free: 12.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.21e-05/0.3918, allocations: 12.03 kB / 444.3 MB, free: 12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01341/0.4052, allocations: 2.314 MB / 446.6 MB, free: 9.676 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01515/0.4204, allocations: 7.342 MB / 453.9 MB, free: 2.242 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007605/0.4212, allocations: 0.7429 MB / 454.7 MB, free: 1.496 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003355/0.4245, allocations: 0.992 MB / 455.7 MB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3164/0.741, allocations: 14.42 MB / 470.1 MB, free: 90.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000288/0.7413, allocations: 15.47 kB / 470.1 MB, free: 90.63 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002501/0.7439, allocations: 419.9 kB / 470.5 MB, free: 90.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003593/0.7442, allocations: 451.1 kB / 471 MB, free: 90.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02455/0.7688, allocations: 12.53 MB / 483.5 MB, free: 81.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07134/0.8402, allocations: 44.08 MB / 0.5152 GB, free: 37.33 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01807/0.8583, allocations: 25.08 MB / 0.5397 GB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007143/0.8655, allocations: 4.94 MB / 0.5445 GB, free: 5.051 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02047/0.886, allocations: 12.17 MB / 0.5564 GB, free: 8.875 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.701e-05/0.8861, allocations: 89.77 kB / 0.5565 GB, free: 8.777 MB / 398.1 MB Notification: Performance of pre-optimization done (n=425): time 6.001e-06/0.8861, allocations: 3.938 kB / 0.5565 GB, free: 8.773 MB / 398.1 MB Notification: Performance of matching and sorting (n=431): time 0.05161/0.9377, allocations: 21.95 MB / 0.5779 GB, free: 2.418 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.414e-05/0.9379, allocations: 94.8 kB / 0.578 GB, free: 2.312 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008924/0.9468, allocations: 5.398 MB / 0.5833 GB, free: 12.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007985/0.9476, allocations: 101.6 kB / 0.5834 GB, free: 12.83 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003196/0.9508, allocations: 4.466 MB / 0.5877 GB, free: 8.336 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001789/0.9526, allocations: 1.436 MB / 0.5892 GB, free: 6.906 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001435/0.9541, allocations: 0.8834 MB / 0.59 GB, free: 6.012 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.307e-05/0.9542, allocations: 301.1 kB / 0.5903 GB, free: 5.715 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003706/0.9579, allocations: 2.422 MB / 0.5927 GB, free: 3.285 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004431/0.9624, allocations: 3.699 MB / 0.5963 GB, free: 15.06 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008909/0.9713, allocations: 6.335 MB / 0.6025 GB, free: 8.203 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-05/0.9714, allocations: 15.94 kB / 0.6025 GB, free: 8.188 MB / 446.1 MB Notification: Performance of matching and sorting (n=634) (initialization): time 0.201/1.172, allocations: 8.23 MB / 0.6105 GB, free: 141.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.174e-05/1.172, allocations: 22.47 kB / 0.6105 GB, free: 141.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.001e-05/1.173, allocations: 37.36 kB / 0.6106 GB, free: 141.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004473/1.177, allocations: 1.533 MB / 0.6121 GB, free: 141.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004796/1.182, allocations: 1.019 MB / 0.6131 GB, free: 141.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01936/1.201, allocations: 26.88 MB / 0.6393 GB, free: 120.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004908/1.206, allocations: 223.3 kB / 0.6395 GB, free: 120.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008714/1.207, allocations: 200.8 kB / 0.6397 GB, free: 120.6 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.00587/1.213, allocations: 3.302 MB / 0.6429 GB, free: 119 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001368/1.214, allocations: 0.573 MB / 0.6435 GB, free: 119 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01146/1.226, allocations: 7.97 MB / 0.6513 GB, free: 115.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.401e-05/1.226, allocations: 43.34 kB / 0.6513 GB, free: 115.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-05/1.226, allocations: 27.56 kB / 0.6514 GB, free: 115.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.045e-05/1.226, allocations: 25.55 kB / 0.6514 GB, free: 115.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02566/1.252, allocations: 16.73 MB / 0.6677 GB, free: 106.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.411e-05/1.252, allocations: 4 kB / 0.6677 GB, free: 106.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00203/1.254, allocations: 455.3 kB / 0.6682 GB, free: 105.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005167/1.259, allocations: 2.346 MB / 0.6704 GB, free: 103.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007335/1.26, allocations: 99.97 kB / 0.6705 GB, free: 103.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02854/1.288, allocations: 34.87 MB / 0.7046 GB, free: 67.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/1.288, allocations: 7.938 kB / 0.7046 GB, free: 67.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01522/1.304, allocations: 11.36 MB / 0.7157 GB, free: 55.83 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00272/1.306, allocations: 1.197 MB / 0.7169 GB, free: 54.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009092/1.307, allocations: 88 kB / 0.7169 GB, free: 54.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00241/1.31, allocations: 223.8 kB / 0.7172 GB, free: 54.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001032/1.311, allocations: 433.3 kB / 0.7176 GB, free: 54.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002506/1.311, allocations: 120 kB / 0.7177 GB, free: 53.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004812/1.316, allocations: 3.686 MB / 0.7213 GB, free: 50.29 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.51e-07/1.316, allocations: 0 / 0.7213 GB, free: 50.29 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006139/1.322, allocations: 1.871 MB / 0.7231 GB, free: 48.41 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.000743/1.323, allocations: 249 kB / 0.7234 GB, free: 48.17 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009579/1.332, allocations: 8.008 MB / 0.7312 GB, free: 39.94 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/1.332, allocations: 7.938 kB / 0.7312 GB, free: 39.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007342/1.34, allocations: 5.729 MB / 0.7368 GB, free: 34.05 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007272/1.347, allocations: 1.6 MB / 0.7383 GB, free: 32.45 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02838/1.375, allocations: 22.97 MB / 0.7608 GB, free: 9.461 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005554/1.381, allocations: 6.371 MB / 0.767 GB, free: 3.047 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004209/1.385, allocations: 1.303 MB / 0.7683 GB, free: 1.738 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008699/1.386, allocations: 343.3 kB / 0.7686 GB, free: 1.402 MB / 446.1 MB Notification: Performance of SimCode: time 1.072e-06/1.386, allocations: 0 / 0.7686 GB, free: 1.402 MB / 446.1 MB Notification: Performance of Templates: time 0.3322/1.718, allocations: 95.61 MB / 0.862 GB, free: 87.72 MB / 462.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.sim & ./Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe 2>&1)