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.00581/0.00581, allocations: 101 kB / 15.73 MB, free: 6.035 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.00104/0.00104, allocations: 193.6 kB / 16.67 MB, free: 5.973 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.413/1.413, allocations: 205.1 MB / 222.5 MB, free: 4.469 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.001249/0.001249, allocations: 50.5 kB / 326.6 MB, free: 14.34 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09139/0.09265, allocations: 46.63 MB / 373.2 MB, free: 1.281 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase): time 0.02933/0.122, allocations: 27.88 MB / 401.1 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01876/0.1408, allocations: 7.731 MB / 408.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006049/0.1469, allocations: 175.2 kB / 409 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006174/0.1532, allocations: 1.913 MB / 410.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009296/0.1625, allocations: 2.628 MB / 413.5 MB, free: 8.777 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004744/0.1673, allocations: 1.712 MB / 415.2 MB, free: 7.062 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01557/0.1828, allocations: 12.58 MB / 427.8 MB, free: 10.44 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0151/0.198, allocations: 10.95 MB / 438.8 MB, free: 15.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009237/0.2073, allocations: 5.897 MB / 444.7 MB, free: 9.461 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01032/0.2177, allocations: 6.726 MB / 451.4 MB, free: 2.711 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004029/0.2217, allocations: 1.668 MB / 453.1 MB, free: 1.043 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.194/0.4157, allocations: 1.862 MB / 454.9 MB, free: 25.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005264/0.4211, allocations: 3.809 MB / 458.7 MB, free: 25.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01312/0.4342, allocations: 6.909 MB / 465.6 MB, free: 24.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02134/0.4556, allocations: 21.68 MB / 487.3 MB, free: 16.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.4556, allocations: 0.8125 kB / 487.3 MB, free: 16.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4556, allocations: 2.938 kB / 487.3 MB, free: 16.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006095/0.4562, allocations: 0.5 kB / 487.3 MB, free: 16.41 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.03853/0.4948, allocations: 13.19 MB / 0.4888 GB, free: 8.023 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.4948, allocations: 11.36 kB / 0.4888 GB, free: 8.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01298/0.5078, allocations: 2.316 MB / 0.4911 GB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01585/0.5237, allocations: 7.541 MB / 0.4984 GB, free: 2.062 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008122/0.5246, allocations: 0.7432 MB / 0.4991 GB, free: 1.723 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00389/0.5285, allocations: 0.9956 MB / 0.5001 GB, free: 1.383 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03596/0.5645, allocations: 14.42 MB / 0.5142 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000397/0.5649, allocations: 9.078 kB / 0.5142 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003309/0.5682, allocations: 418.8 kB / 0.5146 GB, free: 3.207 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004527/0.5687, allocations: 452.4 kB / 0.515 GB, free: 2.762 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02987/0.5986, allocations: 12.53 MB / 0.5273 GB, free: 6.23 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1224/0.721, allocations: 43.49 MB / 0.5697 GB, free: 10.7 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03947/0.7605, allocations: 25.08 MB / 0.5942 GB, free: 15.38 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01383/0.7744, allocations: 4.904 MB / 0.599 GB, free: 10.47 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02683/0.8013, allocations: 12.12 MB / 0.6109 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.217e-05/0.8014, allocations: 97.06 kB / 0.611 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=425): time 6.472e-06/0.8014, allocations: 0 / 0.611 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of matching and sorting (n=431): time 0.04917/0.8506, allocations: 21.96 MB / 0.6324 GB, free: 8 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.779e-05/0.8507, allocations: 94.8 kB / 0.6325 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009006/0.8597, allocations: 5.398 MB / 0.6378 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.001237/0.861, allocations: 105.7 kB / 0.6379 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.215/1.076, allocations: 4.452 MB / 0.6422 GB, free: 183.1 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.002473/1.078, allocations: 1.436 MB / 0.6436 GB, free: 182.6 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005255/1.084, allocations: 0.8783 MB / 0.6445 GB, free: 182.5 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 5.36e-05/1.084, allocations: 303.9 kB / 0.6448 GB, free: 182.2 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005451/1.089, allocations: 2.428 MB / 0.6471 GB, free: 182.2 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005892/1.095, allocations: 3.684 MB / 0.6507 GB, free: 180.8 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01006/1.105, allocations: 6.352 MB / 0.6569 GB, free: 178.1 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.709e-05/1.105, allocations: 11.91 kB / 0.6569 GB, free: 178.1 MB / 0.5137 GB Notification: Performance of matching and sorting (n=634) (initialization): time 0.01479/1.12, allocations: 8.234 MB / 0.665 GB, free: 174.6 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.598e-05/1.12, allocations: 22.09 kB / 0.665 GB, free: 174.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-05/1.12, allocations: 35.84 kB / 0.665 GB, free: 174.6 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003587/1.124, allocations: 1.529 MB / 0.6665 GB, free: 174 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004369/1.128, allocations: 1.03 MB / 0.6675 GB, free: 173.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02152/1.15, allocations: 29.27 MB / 0.6961 GB, free: 148.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006298/1.156, allocations: 226.6 kB / 0.6963 GB, free: 148.4 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001112/1.157, allocations: 199.7 kB / 0.6965 GB, free: 148.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.007042/1.164, allocations: 3.301 MB / 0.6998 GB, free: 145.4 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001359/1.166, allocations: 0.575 MB / 0.7003 GB, free: 144.8 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.012/1.178, allocations: 7.971 MB / 0.7081 GB, free: 137.9 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.533e-05/1.178, allocations: 43.94 kB / 0.7081 GB, free: 137.9 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.626e-05/1.178, allocations: 28 kB / 0.7082 GB, free: 137.9 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.012e-05/1.178, allocations: 18.8 kB / 0.7082 GB, free: 137.9 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0268/1.205, allocations: 16.72 MB / 0.7245 GB, free: 121.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-05/1.205, allocations: 6.438 kB / 0.7245 GB, free: 121.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002119/1.207, allocations: 467.2 kB / 0.725 GB, free: 121.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005116/1.212, allocations: 2.344 MB / 0.7273 GB, free: 118.8 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008252/1.213, allocations: 104 kB / 0.7274 GB, free: 118.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03184/1.245, allocations: 38.06 MB / 0.7645 GB, free: 78.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/1.245, allocations: 6.844 kB / 0.7645 GB, free: 78.88 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0158/1.261, allocations: 11.37 MB / 0.7756 GB, free: 67.31 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00356/1.264, allocations: 1.201 MB / 0.7768 GB, free: 66.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001385/1.266, allocations: 80 kB / 0.7769 GB, free: 66.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003057/1.269, allocations: 227.8 kB / 0.7771 GB, free: 65.79 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009824/1.27, allocations: 434.9 kB / 0.7775 GB, free: 65.36 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002979/1.27, allocations: 116 kB / 0.7776 GB, free: 65.25 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005826/1.276, allocations: 3.683 MB / 0.7812 GB, free: 61.59 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7.01e-07/1.276, allocations: 0 / 0.7812 GB, free: 61.59 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.009692/1.286, allocations: 1.874 MB / 0.783 GB, free: 59.72 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.00109/1.287, allocations: 250.6 kB / 0.7833 GB, free: 59.46 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01133/1.298, allocations: 8.041 MB / 0.7911 GB, free: 51.21 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/1.298, allocations: 0 / 0.7911 GB, free: 51.21 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00793/1.306, allocations: 5.726 MB / 0.7967 GB, free: 45.33 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007906/1.314, allocations: 1.688 MB / 0.7984 GB, free: 43.65 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02946/1.343, allocations: 18.48 MB / 0.8164 GB, free: 25.08 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008874/1.352, allocations: 6.368 MB / 0.8226 GB, free: 18.67 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004715/1.357, allocations: 1.303 MB / 0.8239 GB, free: 17.36 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001115/1.358, allocations: 347.4 kB / 0.8242 GB, free: 17.02 MB / 0.5137 GB Notification: Performance of SimCode: time 8.22e-07/1.358, allocations: 0 / 0.8242 GB, free: 17.02 MB / 0.5137 GB Notification: Performance of Templates: time 0.3703/1.729, allocations: 94.5 MB / 0.9165 GB, free: 111.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)