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.005374/0.005374, allocations: 102.4 kB / 15.73 MB, free: 6.008 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.001295/0.001295, allocations: 198.5 kB / 16.68 MB, free: 5.93 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.348/1.348, allocations: 205.1 MB / 222.5 MB, free: 4.504 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.00119/0.00119, allocations: 54.67 kB / 326.6 MB, free: 14.4 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08541/0.08662, allocations: 46.63 MB / 373.2 MB, free: 1.277 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase): time 0.02766/0.1143, allocations: 27.88 MB / 401.1 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01777/0.1322, allocations: 7.738 MB / 408.8 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004679/0.1369, allocations: 171.2 kB / 409 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005446/0.1424, allocations: 1.909 MB / 410.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009197/0.1516, allocations: 2.632 MB / 413.5 MB, free: 8.773 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004936/0.1566, allocations: 1.708 MB / 415.2 MB, free: 7.062 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01375/0.1703, allocations: 12.58 MB / 427.8 MB, free: 10.43 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01586/0.1862, allocations: 10.95 MB / 438.8 MB, free: 15.37 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009716/0.196, allocations: 5.897 MB / 444.7 MB, free: 9.457 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01028/0.2063, allocations: 6.726 MB / 451.4 MB, free: 2.707 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004113/0.2104, allocations: 1.672 MB / 453.1 MB, free: 1.035 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.19/0.4005, allocations: 1.867 MB / 454.9 MB, free: 25.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005575/0.4061, allocations: 3.802 MB / 458.7 MB, free: 25.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.013/0.4191, allocations: 6.911 MB / 465.6 MB, free: 24.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0211/0.4402, allocations: 21.68 MB / 487.3 MB, free: 16.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.964e-06/0.4403, allocations: 0 / 487.3 MB, free: 16.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.087e-06/0.4403, allocations: 3.125 kB / 487.3 MB, free: 16.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005813/0.4409, allocations: 0 / 487.3 MB, free: 16.36 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.03913/0.48, allocations: 13.18 MB / 0.4888 GB, free: 7.973 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.4801, allocations: 14.39 kB / 0.4888 GB, free: 7.969 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01422/0.4943, allocations: 2.315 MB / 0.491 GB, free: 6.855 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01608/0.5104, allocations: 7.55 MB / 0.4984 GB, free: 2.012 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006452/0.5111, allocations: 0.7413 MB / 0.4991 GB, free: 1.672 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003365/0.5145, allocations: 0.9863 MB / 0.5001 GB, free: 1.336 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04642/0.5609, allocations: 14.43 MB / 0.5142 GB, free: 3.555 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004736/0.5615, allocations: 7.469 kB / 0.5142 GB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003919/0.5654, allocations: 415.9 kB / 0.5146 GB, free: 3.148 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006571/0.5661, allocations: 460.4 kB / 0.515 GB, free: 2.695 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03136/0.5975, allocations: 12.53 MB / 0.5273 GB, free: 6.172 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08187/0.6794, allocations: 43.5 MB / 0.5698 GB, free: 10.61 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02446/0.7039, allocations: 25.08 MB / 0.5942 GB, free: 15.29 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007863/0.7118, allocations: 4.894 MB / 0.599 GB, free: 10.39 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02224/0.734, allocations: 12.13 MB / 0.6109 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.656e-05/0.7341, allocations: 89.69 kB / 0.611 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=425): time 5.781e-06/0.7342, allocations: 3.938 kB / 0.611 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=431): time 0.05133/0.7855, allocations: 21.95 MB / 0.6324 GB, free: 7.934 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.488e-05/0.7856, allocations: 98.8 kB / 0.6325 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009064/0.7946, allocations: 5.398 MB / 0.6378 GB, free: 2.445 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004686/0.7951, allocations: 101.7 kB / 0.6379 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.2041/0.9993, allocations: 4.451 MB / 0.6422 GB, free: 183.1 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001839/1.001, allocations: 1.439 MB / 0.6436 GB, free: 182.6 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001718/1.003, allocations: 0.8796 MB / 0.6445 GB, free: 182.5 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 3.909e-05/1.003, allocations: 303.2 kB / 0.6448 GB, free: 182.2 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003939/1.007, allocations: 2.43 MB / 0.6471 GB, free: 182.2 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004445/1.011, allocations: 3.687 MB / 0.6507 GB, free: 180.8 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008094/1.019, allocations: 6.346 MB / 0.6569 GB, free: 178.1 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.886e-05/1.019, allocations: 11.41 kB / 0.6569 GB, free: 178.1 MB / 0.5137 GB Notification: Performance of matching and sorting (n=634) (initialization): time 0.01326/1.033, allocations: 8.231 MB / 0.665 GB, free: 174.5 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.172e-05/1.033, allocations: 26.8 kB / 0.665 GB, free: 174.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.85e-05/1.033, allocations: 38.41 kB / 0.665 GB, free: 174.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003375/1.036, allocations: 1.535 MB / 0.6665 GB, free: 174 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004118/1.04, allocations: 1.021 MB / 0.6675 GB, free: 173.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01977/1.06, allocations: 29.27 MB / 0.6961 GB, free: 148.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004731/1.065, allocations: 225.7 kB / 0.6963 GB, free: 148.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004602/1.065, allocations: 195.8 kB / 0.6965 GB, free: 148.1 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.005454/1.071, allocations: 3.309 MB / 0.6998 GB, free: 145.3 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001021/1.072, allocations: 0.575 MB / 0.7003 GB, free: 144.7 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01163/1.084, allocations: 7.964 MB / 0.7081 GB, free: 137.9 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.713e-05/1.084, allocations: 47.94 kB / 0.7081 GB, free: 137.8 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.744e-05/1.084, allocations: 24 kB / 0.7082 GB, free: 137.8 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.694e-05/1.084, allocations: 26.5 kB / 0.7082 GB, free: 137.8 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02636/1.11, allocations: 16.72 MB / 0.7245 GB, free: 121.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.795e-05/1.11, allocations: 12 kB / 0.7245 GB, free: 121.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002184/1.112, allocations: 461 kB / 0.725 GB, free: 121.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004943/1.117, allocations: 2.35 MB / 0.7273 GB, free: 118.7 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003955/1.118, allocations: 91.97 kB / 0.7273 GB, free: 118.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03182/1.15, allocations: 38.06 MB / 0.7645 GB, free: 78.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/1.15, allocations: 4 kB / 0.7645 GB, free: 78.81 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01595/1.166, allocations: 11.37 MB / 0.7756 GB, free: 67.24 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003932/1.17, allocations: 1.201 MB / 0.7768 GB, free: 66.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00155/1.171, allocations: 84 kB / 0.7769 GB, free: 65.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002855/1.174, allocations: 223.8 kB / 0.7771 GB, free: 65.71 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001025/1.175, allocations: 431.2 kB / 0.7775 GB, free: 65.29 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002425/1.175, allocations: 120 kB / 0.7776 GB, free: 65.18 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005546/1.181, allocations: 3.686 MB / 0.7812 GB, free: 61.52 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.61e-07/1.181, allocations: 0 / 0.7812 GB, free: 61.52 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.007147/1.188, allocations: 1.878 MB / 0.783 GB, free: 59.64 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.0007373/1.189, allocations: 253.8 kB / 0.7833 GB, free: 59.38 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01004/1.199, allocations: 8.033 MB / 0.7911 GB, free: 51.14 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/1.199, allocations: 4.938 kB / 0.7911 GB, free: 51.14 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.007922/1.207, allocations: 5.725 MB / 0.7967 GB, free: 45.25 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008147/1.215, allocations: 1.686 MB / 0.7984 GB, free: 43.57 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03127/1.246, allocations: 18.48 MB / 0.8164 GB, free: 25 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006033/1.252, allocations: 6.371 MB / 0.8226 GB, free: 18.59 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004503/1.257, allocations: 1.295 MB / 0.8239 GB, free: 17.29 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001112/1.258, allocations: 351.4 kB / 0.8242 GB, free: 16.95 MB / 0.5137 GB Notification: Performance of SimCode: time 1.142e-06/1.258, allocations: 0 / 0.8242 GB, free: 16.95 MB / 0.5137 GB Notification: Performance of Templates: time 0.3515/1.61, allocations: 94.51 MB / 0.9165 GB, free: 111.2 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)