Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.001648/0.001648, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002282/0.002282, allocations: 193.8 kB / 16.53 MB, free: 6.664 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.558/1.558, allocations: 205.1 MB / 222.4 MB, free: 4.578 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.001302/0.001302, allocations: 51.94 kB / 278.7 MB, free: 12.32 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.2191, allocations: 46.63 MB / 325.3 MB, free: 1.879 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.04412/0.2633, allocations: 45.32 MB / 370.7 MB, free: 6.422 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02572/0.289, allocations: 11.74 MB / 382.4 MB, free: 10.64 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00942/0.2985, allocations: 298.9 kB / 382.7 MB, free: 10.34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02832/0.3269, allocations: 12.37 MB / 395.1 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0162/0.3431, allocations: 4.852 MB / 399.9 MB, free: 9.039 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008921/0.352, allocations: 2.97 MB / 402.9 MB, free: 6.066 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.02896/0.381, allocations: 20.95 MB / 423.8 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.4378/0.8188, allocations: 42.15 MB / 466 MB, free: 22.78 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01429/0.8331, allocations: 10.97 MB / 477 MB, free: 21.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01691/0.8501, allocations: 12.15 MB / 489.1 MB, free: 20.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0102/0.8603, allocations: 3.141 MB / 492.3 MB, free: 20.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01444/0.8748, allocations: 3.561 MB / 495.8 MB, free: 20.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009795/0.8846, allocations: 6.308 MB / 0.4904 GB, free: 19.35 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01776/0.9024, allocations: 11.98 MB / 0.5021 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04164/0.9441, allocations: 41.16 MB / 0.5423 GB, free: 4.621 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.9441, allocations: 0 / 0.5423 GB, free: 4.621 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.9441, allocations: 4 kB / 0.5423 GB, free: 4.617 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.001366/0.9455, allocations: 0 / 0.5423 GB, free: 4.617 MB / 414.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.07415/1.02, allocations: 24.13 MB / 0.5658 GB, free: 12.53 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/1.02, allocations: 8.031 kB / 0.5658 GB, free: 12.52 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06742/1.087, allocations: 12.29 MB / 0.5778 GB, free: 360 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02532/1.112, allocations: 12.05 MB / 0.5896 GB, free: 4.781 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0014/1.114, allocations: 1.376 MB / 0.5909 GB, free: 3.422 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007428/1.121, allocations: 1.816 MB / 0.5927 GB, free: 1.625 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07073/1.192, allocations: 30.03 MB / 0.622 GB, free: 3.527 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000707/1.193, allocations: 35.06 kB / 0.6221 GB, free: 3.496 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005583/1.198, allocations: 0.7467 MB / 0.6228 GB, free: 2.766 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001077/1.2, allocations: 1.011 MB / 0.6238 GB, free: 1.75 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3762/1.576, allocations: 27.95 MB / 0.6511 GB, free: 162.5 MB / 494.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1307/1.707, allocations: 95.38 MB / 0.7442 GB, free: 75.26 MB / 494.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03434/1.741, allocations: 63.44 MB / 0.8062 GB, free: 5.84 MB / 494.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1756/1.917, allocations: 7.441 MB / 0.8135 GB, free: 151.8 MB / 494.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02987/1.946, allocations: 20.57 MB / 0.8335 GB, free: 145.2 MB / 494.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.258e-05/1.947, allocations: 104.9 kB / 0.8336 GB, free: 145.1 MB / 494.3 MB Notification: Performance of pre-optimization done (n=677): time 9.117e-06/1.947, allocations: 0 / 0.8336 GB, free: 145.1 MB / 494.3 MB Notification: Performance of matching and sorting (n=685): time 0.0781/2.025, allocations: 38.29 MB / 0.871 GB, free: 129.3 MB / 494.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.789e-05/2.025, allocations: 147.4 kB / 0.8712 GB, free: 129.2 MB / 494.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009122/2.034, allocations: 7.254 MB / 0.8783 GB, free: 126.6 MB / 494.3 MB Notification: Performance of collectPreVariables (initialization): time 0.001011/2.035, allocations: 140.6 kB / 0.8784 GB, free: 126.5 MB / 494.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.003313/2.038, allocations: 7.943 MB / 0.8862 GB, free: 120.6 MB / 494.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.002101/2.04, allocations: 2.326 MB / 0.8884 GB, free: 118.6 MB / 494.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00321/2.044, allocations: 1.933 MB / 0.8903 GB, free: 116.6 MB / 494.3 MB Notification: Performance of setup shared object (initialization): time 5.318e-05/2.044, allocations: 305.1 kB / 0.8906 GB, free: 116.3 MB / 494.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006251/2.05, allocations: 4.911 MB / 0.8954 GB, free: 111.4 MB / 494.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008197/2.058, allocations: 8.635 MB / 0.9038 GB, free: 101.1 MB / 494.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01361/2.072, allocations: 14.37 MB / 0.9179 GB, free: 84.96 MB / 494.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.603e-05/2.072, allocations: 40 kB / 0.9179 GB, free: 84.92 MB / 494.3 MB Notification: Performance of matching and sorting (n=1274) (initialization): time 0.02126/2.093, allocations: 16.39 MB / 0.9339 GB, free: 68.36 MB / 494.3 MB Notification: Performance of prepare postOptimizeDAE: time 5.865e-05/2.093, allocations: 56.81 kB / 0.934 GB, free: 68.3 MB / 494.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001189/2.093, allocations: 120 kB / 0.9341 GB, free: 68.18 MB / 494.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005499/2.099, allocations: 2.605 MB / 0.9366 GB, free: 65.56 MB / 494.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007351/2.106, allocations: 2.18 MB / 0.9388 GB, free: 63.38 MB / 494.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02733/2.134, allocations: 30.82 MB / 0.9688 GB, free: 31.45 MB / 494.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007362/2.141, allocations: 0.5423 MB / 0.9694 GB, free: 30.91 MB / 494.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001397/2.142, allocations: 483.9 kB / 0.9698 GB, free: 30.43 MB / 494.3 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 (1128): * Single equations (assignments): 1118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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,38.3%), (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.009506/2.152, allocations: 6.827 MB / 0.9765 GB, free: 23.59 MB / 494.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001516/2.153, allocations: 0.7717 MB / 0.9773 GB, free: 22.81 MB / 494.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1924/2.346, allocations: 13.1 MB / 0.9901 GB, free: 136.1 MB / 494.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0125/2.358, allocations: 8.225 MB / 0.9981 GB, free: 135.4 MB / 494.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.459e-05/2.358, allocations: 27.28 kB / 0.9981 GB, free: 135.4 MB / 494.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.397e-05/2.358, allocations: 34.97 kB / 0.9981 GB, free: 135.4 MB / 494.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0404/2.399, allocations: 28.05 MB / 1.026 GB, free: 123.9 MB / 494.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.221e-05/2.399, allocations: 0 / 1.026 GB, free: 123.9 MB / 494.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004598/2.404, allocations: 1.115 MB / 1.027 GB, free: 123.8 MB / 494.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006015/2.41, allocations: 2.66 MB / 1.029 GB, free: 123.1 MB / 494.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005655/2.41, allocations: 151.3 kB / 1.029 GB, free: 123 MB / 494.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03707/2.447, allocations: 35.86 MB / 1.064 GB, free: 97.77 MB / 494.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/2.447, allocations: 7.656 kB / 1.064 GB, free: 97.77 MB / 494.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02544/2.473, allocations: 18.78 MB / 1.083 GB, free: 85.88 MB / 494.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004117/2.477, allocations: 1.771 MB / 1.084 GB, free: 84.51 MB / 494.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001792/2.479, allocations: 128 kB / 1.085 GB, free: 84.38 MB / 494.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004303/2.483, allocations: 390.9 kB / 1.085 GB, free: 84 MB / 494.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001253/2.484, allocations: 0.5295 MB / 1.085 GB, free: 83.47 MB / 494.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004168/2.485, allocations: 192 kB / 1.086 GB, free: 83.29 MB / 494.3 MB Notification: Performance of sorting global known variables: time 0.006594/2.491, allocations: 4.871 MB / 1.09 GB, free: 78.45 MB / 494.3 MB Notification: Performance of sort global known variables: time 3.81e-07/2.491, allocations: 6.562 kB / 1.09 GB, free: 78.44 MB / 494.3 MB Notification: Performance of remove unused functions: time 0.01079/2.502, allocations: 3.087 MB / 1.093 GB, free: 75.36 MB / 494.3 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 (560): * Single equations (assignments): 548 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001129/2.503, allocations: 364.8 kB / 1.094 GB, free: 75.02 MB / 494.3 MB Notification: Performance of simCode: created initialization part: time 0.04858/2.552, allocations: 25.01 MB / 1.118 GB, free: 49.95 MB / 494.3 MB Notification: Performance of simCode: created event and clocks part: time 9.197e-06/2.552, allocations: 1.812 kB / 1.118 GB, free: 49.95 MB / 494.3 MB Notification: Performance of simCode: created simulation system equations: time 0.01155/2.563, allocations: 7.584 MB / 1.126 GB, free: 42.27 MB / 494.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01246/2.576, allocations: 2.159 MB / 1.128 GB, free: 40.11 MB / 494.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05544/2.631, allocations: 32.69 MB / 1.16 GB, free: 7.43 MB / 494.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2034/2.835, allocations: 11.42 MB / 1.171 GB, free: 141.8 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 0.01178/2.847, allocations: 3.37 MB / 1.174 GB, free: 141.7 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002446/2.849, allocations: 0.57 MB / 1.175 GB, free: 141.7 MB / 0.4983 GB Notification: Performance of SimCode: time 1.162e-06/2.849, allocations: 0 / 1.175 GB, free: 141.7 MB / 0.4983 GB Notification: Performance of Templates: time 0.1984/3.048, allocations: 136.8 MB / 1.308 GB, free: 41.07 MB / 0.4983 GB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe 2>&1)