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.001269/0.001269, 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.00154/0.00154, allocations: 196.6 kB / 16.14 MB, free: 6.715 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.426/1.426, allocations: 205.1 MB / 222 MB, free: 4.762 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.001165/0.001165, allocations: 51.92 kB / 278.1 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.2257, allocations: 46.63 MB / 324.7 MB, free: 2.16 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase): time 0.02651/0.2523, allocations: 27.46 MB / 352.1 MB, free: 8.742 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0154/0.2677, allocations: 7.63 MB / 359.8 MB, free: 1.086 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005237/0.273, allocations: 163.2 kB / 359.9 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004978/0.2781, allocations: 1.628 MB / 361.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007705/0.2858, allocations: 2.405 MB / 364 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003754/0.2896, allocations: 1.568 MB / 365.5 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01389/0.3035, allocations: 13.4 MB / 378.9 MB, free: 13.83 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01068/0.3142, allocations: 9.156 MB / 388.1 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006972/0.3212, allocations: 4.694 MB / 392.8 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0098/0.331, allocations: 6.187 MB / 399 MB, free: 9.645 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003654/0.3347, allocations: 0.9492 MB / 399.9 MB, free: 8.695 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004779/0.3395, allocations: 1.156 MB / 401.1 MB, free: 7.539 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004095/0.3436, allocations: 3.025 MB / 404.1 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009754/0.3534, allocations: 6.101 MB / 410.2 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01951/0.3729, allocations: 20.89 MB / 431.1 MB, free: 9.422 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.373, allocations: 0 / 431.1 MB, free: 9.422 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.649e-06/0.373, allocations: 3.984 kB / 431.1 MB, free: 9.418 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0005343/0.3735, allocations: 0 / 431.1 MB, free: 9.418 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.03642/0.41, allocations: 13.17 MB / 444.3 MB, free: 12.13 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.41, allocations: 8.031 kB / 444.3 MB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01253/0.4226, allocations: 2.318 MB / 446.6 MB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01449/0.4371, allocations: 7.339 MB / 453.9 MB, free: 2.359 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006423/0.4378, allocations: 0.7507 MB / 454.7 MB, free: 1.605 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002653/0.4404, allocations: 0.9881 MB / 455.7 MB, free: 0.6172 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3087/0.7491, allocations: 14.42 MB / 470.1 MB, free: 90.76 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002323/0.7494, allocations: 13.25 kB / 470.1 MB, free: 90.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001578/0.751, allocations: 414.4 kB / 470.5 MB, free: 90.44 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002851/0.7512, allocations: 456.9 kB / 471 MB, free: 90.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02448/0.7757, allocations: 12.53 MB / 483.5 MB, free: 81.56 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06119/0.837, allocations: 44.07 MB / 0.5152 GB, free: 37.49 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01581/0.8528, allocations: 25.08 MB / 0.5397 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005797/0.8586, allocations: 4.94 MB / 0.5445 GB, free: 5.211 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01799/0.8766, allocations: 12.17 MB / 0.5564 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.295e-05/0.8767, allocations: 89.77 kB / 0.5565 GB, free: 8.93 MB / 398.1 MB Notification: Performance of pre-optimization done (n=425): time 5.1e-06/0.8767, allocations: 0 / 0.5565 GB, free: 8.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=431): time 0.04739/0.9241, allocations: 21.95 MB / 0.5779 GB, free: 2.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.531e-05/0.9242, allocations: 102.8 kB / 0.578 GB, free: 2.457 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007057/0.9313, allocations: 5.398 MB / 0.5833 GB, free: 13.08 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003151/0.9316, allocations: 97.7 kB / 0.5834 GB, free: 12.98 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002734/0.9344, allocations: 4.465 MB / 0.5877 GB, free: 8.488 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001054/0.9354, allocations: 1.443 MB / 0.5892 GB, free: 7.059 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001264/0.9367, allocations: 0.8795 MB / 0.59 GB, free: 6.168 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.837e-05/0.9368, allocations: 301.1 kB / 0.5903 GB, free: 5.871 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00347/0.9403, allocations: 2.43 MB / 0.5927 GB, free: 3.434 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004175/0.9444, allocations: 3.691 MB / 0.5963 GB, free: 15.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007915/0.9524, allocations: 6.346 MB / 0.6025 GB, free: 8.348 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.955e-05/0.9524, allocations: 12 kB / 0.6025 GB, free: 8.336 MB / 446.1 MB Notification: Performance of matching and sorting (n=634) (initialization): time 0.1855/1.138, allocations: 8.23 MB / 0.6105 GB, free: 142.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.299e-05/1.138, allocations: 23.38 kB / 0.6105 GB, free: 142.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.823e-05/1.138, allocations: 35.25 kB / 0.6106 GB, free: 142.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004578/1.143, allocations: 1.53 MB / 0.6121 GB, free: 142.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00453/1.147, allocations: 1.021 MB / 0.6131 GB, free: 142.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01935/1.167, allocations: 26.88 MB / 0.6393 GB, free: 121.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004283/1.171, allocations: 222.9 kB / 0.6395 GB, free: 121.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006054/1.172, allocations: 197.1 kB / 0.6397 GB, free: 121.8 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.005301/1.177, allocations: 3.302 MB / 0.6429 GB, free: 120.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001472/1.178, allocations: 0.5761 MB / 0.6435 GB, free: 120.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01197/1.19, allocations: 7.965 MB / 0.6513 GB, free: 116.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.583e-05/1.19, allocations: 47.17 kB / 0.6513 GB, free: 116.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.052e-05/1.19, allocations: 27.53 kB / 0.6514 GB, free: 116.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.803e-05/1.191, allocations: 25.55 kB / 0.6514 GB, free: 116.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02449/1.215, allocations: 16.73 MB / 0.6677 GB, free: 106.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.399e-05/1.215, allocations: 4 kB / 0.6677 GB, free: 106.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001858/1.217, allocations: 459.6 kB / 0.6682 GB, free: 106.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004682/1.222, allocations: 2.342 MB / 0.6704 GB, free: 103.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002702/1.222, allocations: 101.4 kB / 0.6705 GB, free: 103.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.028/1.25, allocations: 34.86 MB / 0.7046 GB, free: 67.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.25, allocations: 7.938 kB / 0.7046 GB, free: 67.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01436/1.264, allocations: 11.37 MB / 0.7157 GB, free: 56.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002295/1.267, allocations: 1.193 MB / 0.7169 GB, free: 55.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000703/1.267, allocations: 88 kB / 0.717 GB, free: 55.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002299/1.27, allocations: 219.8 kB / 0.7172 GB, free: 54.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009514/1.271, allocations: 435 kB / 0.7176 GB, free: 54.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002375/1.271, allocations: 116 kB / 0.7177 GB, free: 54.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004371/1.275, allocations: 3.682 MB / 0.7213 GB, free: 50.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/1.275, allocations: 0 / 0.7213 GB, free: 50.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005208/1.28, allocations: 1.875 MB / 0.7231 GB, free: 48.86 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.0005653/1.281, allocations: 249 kB / 0.7234 GB, free: 48.62 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00919/1.29, allocations: 8.002 MB / 0.7312 GB, free: 40.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/1.29, allocations: 5 kB / 0.7312 GB, free: 40.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006496/1.297, allocations: 5.739 MB / 0.7368 GB, free: 34.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006128/1.303, allocations: 1.604 MB / 0.7383 GB, free: 32.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02813/1.331, allocations: 22.97 MB / 0.7608 GB, free: 9.902 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005527/1.337, allocations: 6.374 MB / 0.767 GB, free: 3.488 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004209/1.341, allocations: 1.295 MB / 0.7683 GB, free: 2.188 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008965/1.342, allocations: 343.4 kB / 0.7686 GB, free: 1.852 MB / 446.1 MB Notification: Performance of SimCode: time 8.22e-07/1.342, allocations: 3.938 kB / 0.7686 GB, free: 1.848 MB / 446.1 MB Notification: Performance of Templates: time 0.3103/1.652, allocations: 95.6 MB / 0.862 GB, free: 88.18 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)