Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 93.72 kB / 16.65 MB, free: 6.586 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.0008894/0.0008895, allocations: 186.1 kB / 17.57 MB, free: 6.199 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.504/1.504, allocations: 205.4 MB / 223.7 MB, free: 13.08 MB / 190.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.0004784/0.0004784, allocations: 8 kB / 280.8 MB, free: 3.395 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1016, allocations: 47.59 MB / 328.3 MB, free: 3.73 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.04427/0.1459, allocations: 42.8 MB / 371.1 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2302/0.3762, allocations: 11.52 MB / 382.7 MB, free: 11.35 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01107/0.3873, allocations: 283.6 kB / 382.9 MB, free: 11.35 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01111/0.3984, allocations: 2.919 MB / 385.9 MB, free: 11.34 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01767/0.4161, allocations: 4.402 MB / 390.3 MB, free: 11.18 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009202/0.4253, allocations: 2.652 MB / 392.9 MB, free: 11.08 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.03845/0.4638, allocations: 21.51 MB / 414.4 MB, free: 2.84 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0699/0.5337, allocations: 39.45 MB / 453.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01539/0.5492, allocations: 7.7 MB / 461.6 MB, free: 7.297 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01735/0.5666, allocations: 9.364 MB / 470.9 MB, free: 14.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005308/0.5719, allocations: 1.215 MB / 472.1 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.012/0.5839, allocations: 1.624 MB / 473.8 MB, free: 11.44 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007423/0.5914, allocations: 4.002 MB / 477.8 MB, free: 7.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02037/0.6118, allocations: 9.452 MB / 487.2 MB, free: 14.1 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04776/0.6596, allocations: 38.8 MB / 0.5137 GB, free: 7.953 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.6596, allocations: 0 / 0.5137 GB, free: 7.953 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.6597, allocations: 0 / 0.5137 GB, free: 7.953 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.001293/0.661, allocations: 0 / 0.5137 GB, free: 7.953 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5087 * Number of variables: 5087 Notification: Performance of Generate backend data structure: time 0.0598/0.7208, allocations: 20.02 MB / 0.5333 GB, free: 3.934 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/0.7208, allocations: 16.03 kB / 0.5333 GB, free: 3.918 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3163/1.037, allocations: 12.33 MB / 0.5453 GB, free: 133.3 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.026/1.063, allocations: 12.07 MB / 0.5571 GB, free: 127.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001386/1.065, allocations: 1.376 MB / 0.5584 GB, free: 126.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009208/1.074, allocations: 1.806 MB / 0.5602 GB, free: 126.1 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07484/1.149, allocations: 30.07 MB / 0.5896 GB, free: 103.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009567/1.15, allocations: 23.75 kB / 0.5896 GB, free: 103.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008755/1.158, allocations: 0.7535 MB / 0.5903 GB, free: 102.9 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001072/1.16, allocations: 1.015 MB / 0.5913 GB, free: 101.9 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05865/1.218, allocations: 28 MB / 0.6187 GB, free: 73.87 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1646/1.383, allocations: 95.74 MB / 0.7122 GB, free: 8.637 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.247/1.63, allocations: 63.43 MB / 0.7741 GB, free: 96.25 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01275/1.643, allocations: 7.538 MB / 0.7815 GB, free: 93.47 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0356/1.678, allocations: 20.71 MB / 0.8017 GB, free: 84.22 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.001e-05/1.679, allocations: 115.8 kB / 0.8018 GB, free: 84.12 MB / 478.1 MB Notification: Performance of pre-optimization done (n=683): time 8.877e-06/1.679, allocations: 0 / 0.8018 GB, free: 84.12 MB / 478.1 MB Notification: Performance of matching and sorting (n=691): time 0.08223/1.761, allocations: 39.08 MB / 0.84 GB, free: 57.46 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.723e-05/1.761, allocations: 155 kB / 0.8401 GB, free: 57.29 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00935/1.77, allocations: 7.256 MB / 0.8472 GB, free: 50.05 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001189/1.771, allocations: 137.7 kB / 0.8473 GB, free: 49.91 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003399/1.775, allocations: 7.939 MB / 0.8551 GB, free: 41.93 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00218/1.777, allocations: 2.343 MB / 0.8574 GB, free: 39.61 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001169/1.778, allocations: 0.7894 MB / 0.8581 GB, free: 38.81 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 3.789e-05/1.778, allocations: 305.1 kB / 0.8584 GB, free: 38.51 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006568/1.785, allocations: 4.962 MB / 0.8633 GB, free: 33.54 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01052/1.795, allocations: 8.686 MB / 0.8718 GB, free: 23.14 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01855/1.814, allocations: 14.48 MB / 0.8859 GB, free: 6.887 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001492/1.814, allocations: 36 kB / 0.8859 GB, free: 6.852 MB / 478.1 MB Notification: Performance of matching and sorting (n=1280) (initialization): time 0.03548/1.85, allocations: 16.49 MB / 0.902 GB, free: 6.191 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001447/1.85, allocations: 56.81 kB / 0.9021 GB, free: 6.137 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002141/1.85, allocations: 124 kB / 0.9022 GB, free: 6.016 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008044/1.858, allocations: 2.58 MB / 0.9047 GB, free: 3.406 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009215/1.867, allocations: 2.18 MB / 0.9069 GB, free: 1.223 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2416/2.109, allocations: 28.56 MB / 0.9347 GB, free: 130 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00721/2.116, allocations: 0.5422 MB / 0.9353 GB, free: 129.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001433/2.118, allocations: 483.6 kB / 0.9357 GB, free: 129.8 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 550 * Number of states: 0 () * Number of discrete variables: 12 (booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[1].y,rheostatQS.booleanStep[3].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[1].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1131): * Single equations (assignments): 1118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(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): 8 systems {(1,1,100.0%), (18,100,41.7%), (1,5,100.0%), (1,1,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.0131/2.131, allocations: 6.825 MB / 0.9424 GB, free: 126.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002898/2.134, allocations: 0.7823 MB / 0.9432 GB, free: 126.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02234/2.156, allocations: 13.21 MB / 0.9561 GB, free: 121.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01647/2.173, allocations: 8.306 MB / 0.9642 GB, free: 117.8 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.191e-05/2.173, allocations: 27.5 kB / 0.9642 GB, free: 117.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001343/2.173, allocations: 35.95 kB / 0.9642 GB, free: 117.8 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06359/2.236, allocations: 28.2 MB / 0.9918 GB, free: 105.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.742e-05/2.237, allocations: 7.938 kB / 0.9918 GB, free: 105.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00507/2.242, allocations: 1.104 MB / 0.9929 GB, free: 104.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00607/2.248, allocations: 2.658 MB / 0.9955 GB, free: 101.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001047/2.249, allocations: 148 kB / 0.9956 GB, free: 101.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02913/2.278, allocations: 33.02 MB / 1.028 GB, free: 67.13 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/2.278, allocations: 4 kB / 1.028 GB, free: 67.13 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02697/2.305, allocations: 18.97 MB / 1.046 GB, free: 48.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005147/2.31, allocations: 1.781 MB / 1.048 GB, free: 46.77 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001848/2.312, allocations: 124 kB / 1.048 GB, free: 46.65 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004649/2.317, allocations: 411.6 kB / 1.049 GB, free: 46.25 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001356/2.318, allocations: 0.5258 MB / 1.049 GB, free: 45.72 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005467/2.319, allocations: 196 kB / 1.049 GB, free: 45.53 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.007613/2.326, allocations: 4.875 MB / 1.054 GB, free: 40.68 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.4e-07/2.326, allocations: 0 / 1.054 GB, free: 40.68 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01366/2.34, allocations: 3.092 MB / 1.057 GB, free: 37.6 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 11 (ims.inertiaRotor.w,ims.stator.zeroInductor.i0,ims.stator.core.Phi.re,ims.stator.core.Phi.im,ims.rotor.zeroInductor.i0,ims.rotor.core.Phi.re,ims.rotor.core.Phi.im,quadraticLoadTorque.phi,imsQS.inertiaRotor.w,imsQS.rotor.strayReluctance.port_p.reference.gamma,quadraticLoadTorqueQS.phi) * Number of discrete variables: 12 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatQS.booleanStep[1].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (563): * Single equations (assignments): 548 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(1,1,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (1,5,100.0%), (1,8,100.0%), (1,8,100.0%), (2,12,100.0%), (1,1,100.0%), (18,100,41.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001746/2.342, allocations: 352.8 kB / 1.057 GB, free: 37.26 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.02089/2.363, allocations: 13.61 MB / 1.071 GB, free: 23.48 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.45e-05/2.363, allocations: 0 / 1.071 GB, free: 23.48 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01239/2.375, allocations: 7.649 MB / 1.078 GB, free: 15.68 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01633/2.391, allocations: 2.023 MB / 1.08 GB, free: 13.66 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2525/2.644, allocations: 40.63 MB / 1.12 GB, free: 125.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01829/2.662, allocations: 11.43 MB / 1.131 GB, free: 123.6 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.01027/2.673, allocations: 3.36 MB / 1.134 GB, free: 123.2 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0027/2.675, allocations: 0.5682 MB / 1.135 GB, free: 123.2 MB / 494.1 MB Notification: Performance of SimCode: time 1.242e-06/2.675, allocations: 3.906 kB / 1.135 GB, free: 123.2 MB / 494.1 MB Notification: Performance of Templates: time 0.1842/2.86, allocations: 130.5 MB / 1.262 GB, free: 5.934 MB / 494.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe 2>&1)