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.009171/0.009171, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001396/0.001396, allocations: 195.8 kB / 16.67 MB, free: 5.977 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.391/1.391, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.001431/0.001431, allocations: 46.66 kB / 326.6 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09709/0.09854, allocations: 46.63 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase): time 0.03075/0.1293, allocations: 27.89 MB / 401.1 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01868/0.1481, allocations: 7.731 MB / 408.8 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0066/0.1547, allocations: 171.2 kB / 409 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006278/0.1611, allocations: 1.906 MB / 410.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009366/0.1705, allocations: 2.64 MB / 413.5 MB, free: 8.785 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005474/0.176, allocations: 1.708 MB / 415.2 MB, free: 7.074 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01625/0.1922, allocations: 12.57 MB / 427.8 MB, free: 10.45 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01657/0.2088, allocations: 10.96 MB / 438.8 MB, free: 15.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008801/0.2177, allocations: 5.932 MB / 444.7 MB, free: 9.434 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01042/0.2282, allocations: 6.718 MB / 451.4 MB, free: 2.691 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003947/0.2321, allocations: 1.668 MB / 453.1 MB, free: 1.023 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1752/0.4073, allocations: 1.872 MB / 455 MB, free: 25.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004417/0.4118, allocations: 3.803 MB / 458.8 MB, free: 25.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01158/0.4234, allocations: 6.908 MB / 465.7 MB, free: 24.15 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0205/0.4439, allocations: 21.69 MB / 487.4 MB, free: 16.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.336e-06/0.444, allocations: 0 / 487.4 MB, free: 16.35 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.444, allocations: 0 / 487.4 MB, free: 16.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0008159/0.4448, allocations: 0 / 487.4 MB, free: 16.35 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.03846/0.4833, allocations: 13.19 MB / 0.4888 GB, free: 7.965 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.4833, allocations: 12.77 kB / 0.4888 GB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0131/0.4964, allocations: 2.322 MB / 0.4911 GB, free: 6.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0165/0.513, allocations: 7.54 MB / 0.4985 GB, free: 2.004 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007543/0.5138, allocations: 0.7459 MB / 0.4992 GB, free: 1.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003901/0.5177, allocations: 0.9881 MB / 0.5001 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03378/0.5515, allocations: 14.42 MB / 0.5142 GB, free: 3.527 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002391/0.5518, allocations: 15.38 kB / 0.5142 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001698/0.5535, allocations: 415.1 kB / 0.5146 GB, free: 3.113 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003864/0.5539, allocations: 452.4 kB / 0.5151 GB, free: 2.668 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02824/0.5821, allocations: 12.53 MB / 0.5273 GB, free: 6.145 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08557/0.6677, allocations: 43.49 MB / 0.5698 GB, free: 10.6 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02507/0.6929, allocations: 25.08 MB / 0.5943 GB, free: 15.28 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008301/0.7012, allocations: 4.894 MB / 0.5991 GB, free: 10.38 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02949/0.7307, allocations: 12.13 MB / 0.6109 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.835e-05/0.7309, allocations: 89.5 kB / 0.611 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=425): time 8.176e-06/0.7309, allocations: 0 / 0.611 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of matching and sorting (n=431): time 0.05101/0.7819, allocations: 21.95 MB / 0.6324 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.187e-05/0.782, allocations: 98.8 kB / 0.6325 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00867/0.7907, allocations: 5.398 MB / 0.6378 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0008163/0.7915, allocations: 101.7 kB / 0.6379 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.1935/0.985, allocations: 4.453 MB / 0.6422 GB, free: 183 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001957/0.987, allocations: 1.441 MB / 0.6436 GB, free: 182.4 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002633/0.9897, allocations: 0.8826 MB / 0.6445 GB, free: 182.4 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 4.152e-05/0.9897, allocations: 302.4 kB / 0.6448 GB, free: 182.1 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00419/0.9939, allocations: 2.434 MB / 0.6472 GB, free: 182.1 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004907/0.9989, allocations: 3.687 MB / 0.6508 GB, free: 180.7 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009646/1.009, allocations: 6.341 MB / 0.657 GB, free: 177.9 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.585e-05/1.009, allocations: 7.844 kB / 0.657 GB, free: 177.9 MB / 0.5137 GB Notification: Performance of matching and sorting (n=634) (initialization): time 0.02253/1.031, allocations: 8.232 MB / 0.665 GB, free: 174.4 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.006e-05/1.031, allocations: 26.56 kB / 0.665 GB, free: 174.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.208e-05/1.031, allocations: 38.41 kB / 0.6651 GB, free: 174.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005825/1.037, allocations: 1.534 MB / 0.6666 GB, free: 173.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007366/1.045, allocations: 1.024 MB / 0.6676 GB, free: 173.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03282/1.077, allocations: 29.27 MB / 0.6962 GB, free: 148.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008001/1.086, allocations: 221.8 kB / 0.6964 GB, free: 148.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001077/1.087, allocations: 206.2 kB / 0.6966 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.009572/1.096, allocations: 3.293 MB / 0.6998 GB, free: 145.2 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001772/1.098, allocations: 0.5828 MB / 0.7004 GB, free: 144.7 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01438/1.112, allocations: 7.969 MB / 0.7081 GB, free: 137.8 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-05/1.112, allocations: 43.94 kB / 0.7082 GB, free: 137.8 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.178e-05/1.112, allocations: 30.02 kB / 0.7082 GB, free: 137.7 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.595e-05/1.113, allocations: 24.33 kB / 0.7082 GB, free: 137.7 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02609/1.139, allocations: 16.72 MB / 0.7246 GB, free: 121.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.622e-05/1.139, allocations: 4.125 kB / 0.7246 GB, free: 121.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001954/1.141, allocations: 467.7 kB / 0.725 GB, free: 121.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004811/1.145, allocations: 2.338 MB / 0.7273 GB, free: 118.7 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002979/1.146, allocations: 99.97 kB / 0.7274 GB, free: 118.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03103/1.177, allocations: 38.06 MB / 0.7645 GB, free: 78.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.92e-06/1.177, allocations: 11.22 kB / 0.7646 GB, free: 78.8 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02064/1.198, allocations: 11.37 MB / 0.7757 GB, free: 67.23 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005189/1.203, allocations: 1.201 MB / 0.7768 GB, free: 66 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002209/1.205, allocations: 80 kB / 0.7769 GB, free: 65.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005451/1.211, allocations: 223.8 kB / 0.7771 GB, free: 65.7 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001593/1.212, allocations: 434.8 kB / 0.7775 GB, free: 65.28 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004029/1.213, allocations: 116.3 kB / 0.7776 GB, free: 65.16 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.008895/1.221, allocations: 3.686 MB / 0.7812 GB, free: 61.5 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6.11e-07/1.222, allocations: 4 kB / 0.7813 GB, free: 61.5 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.01032/1.232, allocations: 1.878 MB / 0.7831 GB, free: 59.62 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.00104/1.233, allocations: 251.7 kB / 0.7833 GB, free: 59.37 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01021/1.243, allocations: 8.031 MB / 0.7912 GB, free: 51.13 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.567e-06/1.243, allocations: 4 kB / 0.7912 GB, free: 51.12 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.007129/1.25, allocations: 5.722 MB / 0.7968 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.00784/1.258, allocations: 1.697 MB / 0.7984 GB, free: 43.55 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03176/1.29, allocations: 18.48 MB / 0.8165 GB, free: 24.99 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007149/1.297, allocations: 6.368 MB / 0.8227 GB, free: 18.58 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004383/1.302, allocations: 1.299 MB / 0.8239 GB, free: 17.28 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009125/1.303, allocations: 351.4 kB / 0.8243 GB, free: 16.93 MB / 0.5137 GB Notification: Performance of SimCode: time 8.92e-07/1.303, allocations: 0 / 0.8243 GB, free: 16.93 MB / 0.5137 GB Notification: Performance of Templates: time 0.3495/1.652, allocations: 95.91 MB / 0.9179 GB, free: 109.9 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)