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.001729/0.001729, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002012/0.002012, allocations: 191.5 kB / 16.67 MB, free: 6.57 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.402/1.402, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.001267/0.001267, allocations: 54.42 kB / 326.6 MB, free: 14.24 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08517/0.08644, allocations: 46.62 MB / 373.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase): time 0.02791/0.1144, allocations: 27.89 MB / 401.1 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01621/0.1306, allocations: 7.731 MB / 408.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006427/0.1371, allocations: 171.2 kB / 409 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006961/0.1441, allocations: 1.909 MB / 410.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01006/0.1542, allocations: 2.632 MB / 413.5 MB, free: 8.805 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005433/0.1597, allocations: 1.716 MB / 415.2 MB, free: 7.086 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01748/0.1772, allocations: 12.58 MB / 427.8 MB, free: 10.46 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01499/0.1922, allocations: 10.95 MB / 438.8 MB, free: 15.4 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0085/0.2008, allocations: 5.893 MB / 444.7 MB, free: 9.488 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01115/0.212, allocations: 6.726 MB / 451.4 MB, free: 2.738 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005193/0.2172, allocations: 1.672 MB / 453 MB, free: 1.066 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1987/0.416, allocations: 1.867 MB / 454.9 MB, free: 25.06 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004957/0.4209, allocations: 3.802 MB / 458.7 MB, free: 25.06 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01499/0.436, allocations: 6.915 MB / 465.6 MB, free: 24.06 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02558/0.4616, allocations: 21.74 MB / 487.4 MB, free: 16.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.4616, allocations: 0 / 487.4 MB, free: 16.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4616, allocations: 1.094 kB / 487.4 MB, free: 16.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000691/0.4623, allocations: 2.875 kB / 487.4 MB, free: 16.2 MB / 382.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.03455/0.4969, allocations: 13.47 MB / 0.4891 GB, free: 7.516 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.4969, allocations: 13.77 kB / 0.4891 GB, free: 7.512 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01233/0.5093, allocations: 2.377 MB / 0.4914 GB, free: 6.344 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01498/0.5243, allocations: 7.591 MB / 0.4989 GB, free: 1.457 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000793/0.5251, allocations: 0.7414 MB / 0.4996 GB, free: 1.117 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003372/0.5285, allocations: 0.9865 MB / 0.5005 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03586/0.5644, allocations: 14.42 MB / 0.5146 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003337/0.5648, allocations: 23.22 kB / 0.5146 GB, free: 3.027 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00289/0.5677, allocations: 411.9 kB / 0.515 GB, free: 2.629 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004621/0.5681, allocations: 452.4 kB / 0.5155 GB, free: 2.184 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02945/0.5976, allocations: 12.53 MB / 0.5277 GB, free: 5.656 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08254/0.6802, allocations: 43.61 MB / 0.5703 GB, free: 10.02 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02453/0.7047, allocations: 25.07 MB / 0.5948 GB, free: 14.7 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008246/0.713, allocations: 4.907 MB / 0.5996 GB, free: 9.785 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02235/0.7354, allocations: 12.15 MB / 0.6114 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.898e-05/0.7355, allocations: 81.84 kB / 0.6115 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=425): time 5.791e-06/0.7355, allocations: 3.938 kB / 0.6115 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=431): time 0.05242/0.788, allocations: 22.1 MB / 0.6331 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.751e-05/0.7881, allocations: 98.8 kB / 0.6332 GB, free: 7.078 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009844/0.7979, allocations: 5.398 MB / 0.6385 GB, free: 1.699 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.001209/0.7992, allocations: 101.7 kB / 0.6386 GB, free: 1.594 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.2133/1.013, allocations: 4.574 MB / 0.643 GB, free: 182.8 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001844/1.014, allocations: 1.513 MB / 0.6445 GB, free: 181.9 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002022/1.016, allocations: 0.8825 MB / 0.6454 GB, free: 181.9 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 4.018e-05/1.016, allocations: 301.9 kB / 0.6457 GB, free: 181.6 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003836/1.02, allocations: 2.43 MB / 0.648 GB, free: 181.6 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004738/1.025, allocations: 3.691 MB / 0.6516 GB, free: 180.2 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008194/1.033, allocations: 6.339 MB / 0.6578 GB, free: 177.4 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.411e-05/1.033, allocations: 11.03 kB / 0.6578 GB, free: 177.4 MB / 0.5137 GB Notification: Performance of matching and sorting (n=634) (initialization): time 0.01147/1.045, allocations: 8.263 MB / 0.6659 GB, free: 173.8 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.265e-05/1.045, allocations: 25.92 kB / 0.6659 GB, free: 173.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.439e-05/1.045, allocations: 37.84 kB / 0.666 GB, free: 173.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00314/1.048, allocations: 1.538 MB / 0.6675 GB, free: 173.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003468/1.052, allocations: 1.019 MB / 0.6685 GB, free: 173.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01926/1.071, allocations: 29.29 MB / 0.6971 GB, free: 147.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005195/1.076, allocations: 221.9 kB / 0.6973 GB, free: 147.4 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006185/1.077, allocations: 199.6 kB / 0.6975 GB, free: 147.2 MB / 0.5137 GB 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.007055/1.084, allocations: 3.299 MB / 0.7007 GB, free: 144.4 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001274/1.085, allocations: 0.6094 MB / 0.7013 GB, free: 143.7 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01152/1.097, allocations: 7.966 MB / 0.7091 GB, free: 136.9 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.146e-05/1.097, allocations: 43.94 kB / 0.7091 GB, free: 136.9 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.864e-05/1.097, allocations: 28 kB / 0.7091 GB, free: 136.8 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-05/1.097, allocations: 23.53 kB / 0.7092 GB, free: 136.8 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02293/1.12, allocations: 16.73 MB / 0.7255 GB, free: 120.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.366e-05/1.12, allocations: 4 kB / 0.7255 GB, free: 120.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001836/1.122, allocations: 463.7 kB / 0.7259 GB, free: 120 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004503/1.126, allocations: 2.336 MB / 0.7282 GB, free: 117.7 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000246/1.126, allocations: 99.97 kB / 0.7283 GB, free: 117.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03011/1.156, allocations: 38.1 MB / 0.7655 GB, free: 77.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/1.156, allocations: 11.94 kB / 0.7655 GB, free: 77.68 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01591/1.172, allocations: 11.39 MB / 0.7767 GB, free: 66.09 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003073/1.176, allocations: 1.227 MB / 0.7779 GB, free: 64.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00131/1.177, allocations: 83.98 kB / 0.7779 GB, free: 64.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002956/1.18, allocations: 223.8 kB / 0.7781 GB, free: 64.54 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009395/1.181, allocations: 438.8 kB / 0.7786 GB, free: 64.11 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002632/1.181, allocations: 116 kB / 0.7787 GB, free: 64 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005276/1.186, allocations: 3.69 MB / 0.7823 GB, free: 60.34 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.3e-07/1.186, allocations: 0 / 0.7823 GB, free: 60.34 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006828/1.193, allocations: 1.867 MB / 0.7841 GB, free: 58.47 MB / 0.5137 GB 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.0006797/1.194, allocations: 254.7 kB / 0.7843 GB, free: 58.21 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009763/1.204, allocations: 8.045 MB / 0.7922 GB, free: 49.96 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.267e-06/1.204, allocations: 4 kB / 0.7922 GB, free: 49.95 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.007162/1.211, allocations: 5.748 MB / 0.7978 GB, free: 44.05 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007349/1.218, allocations: 1.695 MB / 0.7995 GB, free: 42.36 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02933/1.248, allocations: 18.78 MB / 0.8178 GB, free: 23.47 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005702/1.253, allocations: 6.374 MB / 0.824 GB, free: 17.05 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003975/1.257, allocations: 1.299 MB / 0.8253 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009357/1.258, allocations: 343.4 kB / 0.8256 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of SimCode: time 9.52e-07/1.258, allocations: 4 kB / 0.8256 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of Templates: time 0.3607/1.619, allocations: 94.51 MB / 0.9179 GB, free: 109.4 MB / 0.5137 GB 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)