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.005806/0.005806, allocations: 97.33 kB / 15.73 MB, free: 5.527 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.001256/0.001256, allocations: 187 kB / 16.67 MB, free: 5.465 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.407/1.407, allocations: 205.1 MB / 222.5 MB, free: 4.367 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.001135/0.001135, allocations: 55 kB / 326.6 MB, free: 14.59 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09476/0.0959, allocations: 46.63 MB / 373.2 MB, free: 1.383 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase): time 0.02882/0.1248, allocations: 27.88 MB / 401.1 MB, free: 5.375 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01733/0.1421, allocations: 7.727 MB / 408.8 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006385/0.1485, allocations: 171.2 kB / 409 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006565/0.1552, allocations: 1.909 MB / 410.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009858/0.1651, allocations: 2.64 MB / 413.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005728/0.1708, allocations: 1.708 MB / 415.2 MB, free: 7.168 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0183/0.1891, allocations: 12.58 MB / 427.8 MB, free: 10.54 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0162/0.2054, allocations: 10.95 MB / 438.8 MB, free: 15.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009971/0.2154, allocations: 5.897 MB / 444.7 MB, free: 9.562 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01106/0.2265, allocations: 6.718 MB / 451.4 MB, free: 2.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004162/0.2307, allocations: 1.672 MB / 453.1 MB, free: 1.148 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1868/0.4175, allocations: 1.869 MB / 454.9 MB, free: 25.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005113/0.4227, allocations: 3.799 MB / 458.7 MB, free: 25.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01339/0.4361, allocations: 6.914 MB / 465.6 MB, free: 24.15 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02376/0.4599, allocations: 21.74 MB / 487.4 MB, free: 16.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.333e-06/0.4599, allocations: 3.812 kB / 487.4 MB, free: 16.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4599, allocations: 0 / 487.4 MB, free: 16.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0007898/0.4607, allocations: 0 / 487.4 MB, free: 16.23 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.03771/0.4984, allocations: 13.48 MB / 0.4891 GB, free: 7.547 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.4985, allocations: 19.11 kB / 0.4891 GB, free: 7.539 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01277/0.5113, allocations: 2.368 MB / 0.4914 GB, free: 6.379 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01555/0.5269, allocations: 7.593 MB / 0.4989 GB, free: 1.492 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006773/0.5276, allocations: 0.7415 MB / 0.4996 GB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003365/0.531, allocations: 0.984 MB / 0.5005 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04134/0.5723, allocations: 14.43 MB / 0.5146 GB, free: 3.137 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004176/0.5728, allocations: 19.61 kB / 0.5147 GB, free: 3.121 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002961/0.5757, allocations: 411 kB / 0.515 GB, free: 2.723 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004535/0.5762, allocations: 452.4 kB / 0.5155 GB, free: 2.277 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02999/0.6062, allocations: 12.53 MB / 0.5277 GB, free: 5.75 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09552/0.7018, allocations: 43.6 MB / 0.5703 GB, free: 10.11 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02606/0.7279, allocations: 25.09 MB / 0.5948 GB, free: 14.79 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009222/0.7371, allocations: 4.896 MB / 0.5996 GB, free: 9.875 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02706/0.7642, allocations: 12.15 MB / 0.6114 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.006e-05/0.7643, allocations: 89.78 kB / 0.6115 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=425): time 5.591e-06/0.7644, allocations: 0 / 0.6115 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=431): time 0.05504/0.8194, allocations: 22.11 MB / 0.6331 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.615e-05/0.8195, allocations: 94.8 kB / 0.6332 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01186/0.8314, allocations: 5.406 MB / 0.6385 GB, free: 1.781 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.001033/0.8324, allocations: 109.5 kB / 0.6386 GB, free: 1.672 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.2216/1.054, allocations: 4.569 MB / 0.643 GB, free: 182.9 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.002062/1.056, allocations: 1.511 MB / 0.6445 GB, free: 182 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001974/1.058, allocations: 0.8828 MB / 0.6454 GB, free: 181.9 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 5.058e-05/1.058, allocations: 301.7 kB / 0.6457 GB, free: 181.7 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004385/1.063, allocations: 2.433 MB / 0.6481 GB, free: 181.6 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005619/1.068, allocations: 3.683 MB / 0.6516 GB, free: 180.2 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009633/1.078, allocations: 6.352 MB / 0.6579 GB, free: 177.4 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.69e-05/1.078, allocations: 10.75 kB / 0.6579 GB, free: 177.4 MB / 0.5137 GB Notification: Performance of matching and sorting (n=634) (initialization): time 0.01519/1.093, allocations: 8.254 MB / 0.6659 GB, free: 173.8 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.821e-05/1.093, allocations: 26.08 kB / 0.6659 GB, free: 173.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.162e-05/1.093, allocations: 34.38 kB / 0.666 GB, free: 173.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003617/1.097, allocations: 1.533 MB / 0.6675 GB, free: 173.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004354/1.101, allocations: 1.019 MB / 0.6685 GB, free: 173.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02119/1.123, allocations: 29.3 MB / 0.6971 GB, free: 147.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005071/1.128, allocations: 213.9 kB / 0.6973 GB, free: 147.4 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007756/1.129, allocations: 203.7 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.006292/1.135, allocations: 3.3 MB / 0.7007 GB, free: 144.3 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001228/1.136, allocations: 0.6094 MB / 0.7013 GB, free: 143.7 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01193/1.148, allocations: 7.965 MB / 0.7091 GB, free: 136.9 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-05/1.148, allocations: 43.94 kB / 0.7091 GB, free: 136.8 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.72e-05/1.148, allocations: 28 kB / 0.7091 GB, free: 136.8 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-05/1.148, allocations: 19.45 kB / 0.7092 GB, free: 136.8 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02584/1.174, allocations: 16.73 MB / 0.7255 GB, free: 120.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.576e-05/1.174, allocations: 4 kB / 0.7255 GB, free: 120.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002114/1.176, allocations: 467.7 kB / 0.726 GB, free: 120.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005145/1.181, allocations: 2.339 MB / 0.7282 GB, free: 117.7 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000421/1.182, allocations: 99.97 kB / 0.7283 GB, free: 117.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03176/1.214, allocations: 38.1 MB / 0.7655 GB, free: 77.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/1.214, allocations: 4 kB / 0.7655 GB, free: 77.73 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01632/1.23, allocations: 11.39 MB / 0.7767 GB, free: 66.14 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003358/1.233, allocations: 1.227 MB / 0.7779 GB, free: 64.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001409/1.235, allocations: 87.94 kB / 0.778 GB, free: 64.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00304/1.238, allocations: 223.8 kB / 0.7782 GB, free: 64.58 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001005/1.239, allocations: 430.8 kB / 0.7786 GB, free: 64.16 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002793/1.239, allocations: 116 kB / 0.7787 GB, free: 64.05 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00582/1.245, allocations: 3.69 MB / 0.7823 GB, free: 60.38 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/1.245, allocations: 4 kB / 0.7823 GB, free: 60.38 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.008544/1.253, allocations: 1.875 MB / 0.7841 GB, free: 58.5 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.0008425/1.254, allocations: 243.1 kB / 0.7844 GB, free: 58.26 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01063/1.265, allocations: 8.05 MB / 0.7922 GB, free: 50 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.358e-06/1.265, allocations: 7.938 kB / 0.7922 GB, free: 49.99 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.008385/1.273, allocations: 5.74 MB / 0.7978 GB, free: 44.09 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01112/1.285, allocations: 1.691 MB / 0.7995 GB, free: 42.41 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03471/1.319, allocations: 18.78 MB / 0.8178 GB, free: 23.52 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006583/1.326, allocations: 6.371 MB / 0.824 GB, free: 17.1 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004521/1.33, allocations: 1.299 MB / 0.8253 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001013/1.331, allocations: 351.4 kB / 0.8257 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of SimCode: time 6.01e-07/1.331, allocations: 0 / 0.8257 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of Templates: time 0.3527/1.684, allocations: 94.5 MB / 0.9179 GB, free: 109.4 MB / 0.5137 GB 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)