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.001121/0.001126, allocations: 106.9 kB / 16.92 MB, free: 5.797 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.001167/0.001167, allocations: 191.3 kB / 17.85 MB, free: 5.188 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.321/1.321, allocations: 205.1 MB / 223.7 MB, free: 12.3 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.001277/0.001277, allocations: 59.92 kB / 280 MB, free: 3.168 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08046/0.08175, allocations: 46.63 MB / 326.6 MB, free: 4.469 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase): time 0.02691/0.1087, allocations: 27.89 MB / 354.5 MB, free: 8.449 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01397/0.1227, allocations: 7.727 MB / 362.2 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003609/0.1263, allocations: 175.2 kB / 362.4 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004141/0.1305, allocations: 1.909 MB / 364.3 MB, free: 14.6 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006943/0.1375, allocations: 2.632 MB / 367 MB, free: 11.95 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003885/0.1414, allocations: 1.712 MB / 368.7 MB, free: 10.24 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2916/0.433, allocations: 12.5 MB / 381.2 MB, free: 13.24 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01463/0.4477, allocations: 10.96 MB / 392.1 MB, free: 11.1 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009177/0.4569, allocations: 5.884 MB / 398 MB, free: 10.5 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01112/0.4681, allocations: 6.703 MB / 404.7 MB, free: 9.211 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005358/0.4735, allocations: 1.672 MB / 406.4 MB, free: 9.211 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008162/0.4816, allocations: 1.882 MB / 408.3 MB, free: 9.156 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005601/0.4873, allocations: 3.801 MB / 412.1 MB, free: 6.328 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01094/0.4982, allocations: 6.933 MB / 419 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02369/0.5219, allocations: 21.52 MB / 440.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.522, allocations: 4 kB / 440.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.522, allocations: 0 / 440.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0006048/0.5226, allocations: 3.281 kB / 440.5 MB, free: 11.89 MB / 350.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.03988/0.5625, allocations: 13.19 MB / 453.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.5625, allocations: 11.89 kB / 453.7 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01226/0.5748, allocations: 2.322 MB / 456.1 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01649/0.5913, allocations: 7.465 MB / 463.5 MB, free: 5.109 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008245/0.5922, allocations: 0.7419 MB / 464.3 MB, free: 4.367 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003249/0.5954, allocations: 0.9988 MB / 465.3 MB, free: 3.379 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03447/0.6299, allocations: 14.43 MB / 479.7 MB, free: 4.828 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002266/0.6302, allocations: 11.38 kB / 479.7 MB, free: 4.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001403/0.6316, allocations: 410.8 kB / 480.1 MB, free: 4.422 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003813/0.632, allocations: 460.4 kB / 480.5 MB, free: 3.969 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02489/0.6569, allocations: 12.53 MB / 493.1 MB, free: 7.441 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07514/0.7321, allocations: 44.08 MB / 0.5246 GB, free: 11.26 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1848/0.917, allocations: 25.07 MB / 0.549 GB, free: 127.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008325/0.9254, allocations: 4.936 MB / 0.5539 GB, free: 127.4 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01946/0.9448, allocations: 12.18 MB / 0.5658 GB, free: 121.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.59e-05/0.945, allocations: 85.67 kB / 0.5658 GB, free: 121.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=425): time 7.044e-06/0.945, allocations: 0 / 0.5658 GB, free: 121.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=431): time 0.04351/0.9885, allocations: 21.95 MB / 0.5873 GB, free: 112.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.9886, allocations: 99.83 kB / 0.5874 GB, free: 112.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006774/0.9954, allocations: 5.397 MB / 0.5926 GB, free: 110.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005091/0.9959, allocations: 100.3 kB / 0.5927 GB, free: 110.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001971/0.9979, allocations: 4.463 MB / 0.5971 GB, free: 106.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009584/0.9988, allocations: 1.437 MB / 0.5985 GB, free: 105.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001175/1, allocations: 0.8849 MB / 0.5994 GB, free: 104.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.956e-05/1, allocations: 309.1 kB / 0.5997 GB, free: 104.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003433/1.004, allocations: 2.422 MB / 0.602 GB, free: 101.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003411/1.007, allocations: 3.687 MB / 0.6056 GB, free: 97.58 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006719/1.014, allocations: 6.339 MB / 0.6118 GB, free: 90.72 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.716e-05/1.014, allocations: 8 kB / 0.6118 GB, free: 90.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=634) (initialization): time 0.01082/1.025, allocations: 8.237 MB / 0.6199 GB, free: 82.36 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.251e-05/1.025, allocations: 22.59 kB / 0.6199 GB, free: 82.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.859e-05/1.025, allocations: 44 kB / 0.6199 GB, free: 82.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003064/1.028, allocations: 1.542 MB / 0.6214 GB, free: 80.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003619/1.031, allocations: 1.022 MB / 0.6224 GB, free: 79.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0195/1.051, allocations: 29.29 MB / 0.651 GB, free: 48.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004308/1.055, allocations: 215.8 kB / 0.6513 GB, free: 48.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004576/1.056, allocations: 204 kB / 0.6514 GB, free: 48.05 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.004937/1.061, allocations: 3.301 MB / 0.6547 GB, free: 44.74 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001068/1.062, allocations: 0.579 MB / 0.6552 GB, free: 44.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01102/1.073, allocations: 7.974 MB / 0.663 GB, free: 36.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.128e-05/1.073, allocations: 44 kB / 0.6631 GB, free: 35.99 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.857e-05/1.073, allocations: 32 kB / 0.6631 GB, free: 35.96 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.034e-05/1.073, allocations: 19.92 kB / 0.6631 GB, free: 35.94 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02246/1.095, allocations: 16.72 MB / 0.6794 GB, free: 19.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-05/1.095, allocations: 0 / 0.6794 GB, free: 19.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001949/1.097, allocations: 469.9 kB / 0.6799 GB, free: 18.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004684/1.102, allocations: 2.355 MB / 0.6822 GB, free: 16.21 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002835/1.102, allocations: 95.97 kB / 0.6823 GB, free: 16.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2145/1.317, allocations: 38.1 MB / 0.7195 GB, free: 140.6 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/1.317, allocations: 6.516 kB / 0.7195 GB, free: 140.6 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01727/1.334, allocations: 11.37 MB / 0.7306 GB, free: 137.2 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002662/1.337, allocations: 1.19 MB / 0.7318 GB, free: 136.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007675/1.338, allocations: 87.47 kB / 0.7318 GB, free: 136.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00253/1.34, allocations: 234.6 kB / 0.7321 GB, free: 136.7 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001212/1.341, allocations: 420.5 kB / 0.7325 GB, free: 136.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002333/1.342, allocations: 113 kB / 0.7326 GB, free: 136.6 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.005047/1.347, allocations: 3.69 MB / 0.7362 GB, free: 135.3 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.51e-07/1.347, allocations: 0 / 0.7362 GB, free: 135.3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006351/1.353, allocations: 1.871 MB / 0.738 GB, free: 135.1 MB / 462.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.0005934/1.354, allocations: 252.3 kB / 0.7382 GB, free: 134.9 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.02259/1.376, allocations: 12.26 MB / 0.7502 GB, free: 130.8 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.335e-06/1.376, allocations: 3.906 kB / 0.7502 GB, free: 130.8 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007241/1.384, allocations: 5.729 MB / 0.7558 GB, free: 127.7 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006895/1.391, allocations: 1.701 MB / 0.7575 GB, free: 126.9 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02821/1.419, allocations: 18.72 MB / 0.7758 GB, free: 110 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005589/1.424, allocations: 6.376 MB / 0.782 GB, free: 105.2 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004404/1.429, allocations: 1.296 MB / 0.7833 GB, free: 104.2 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008459/1.43, allocations: 354.4 kB / 0.7836 GB, free: 103.9 MB / 462.1 MB Notification: Performance of SimCode: time 6.51e-07/1.43, allocations: 0 / 0.7836 GB, free: 103.9 MB / 462.1 MB Notification: Performance of Templates: time 0.3191/1.749, allocations: 99.38 MB / 0.8806 GB, free: 136.5 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)