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.00118/0.00118, allocations: 102.5 kB / 16.51 MB, free: 6.641 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.001018/0.001019, allocations: 194.1 kB / 17.42 MB, free: 6.066 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.463/1.463, allocations: 205.1 MB / 223.3 MB, free: 12.46 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.001102/0.001102, allocations: 47.92 kB / 279.4 MB, free: 3.57 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08934/0.09046, allocations: 46.62 MB / 326 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.04122/0.1317, allocations: 44.51 MB / 370.5 MB, free: 8.176 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2025/0.3342, allocations: 11.59 MB / 382.1 MB, free: 10.89 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009676/0.3439, allocations: 284.2 kB / 382.4 MB, free: 10.89 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02402/0.368, allocations: 11.64 MB / 394 MB, free: 10.5 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01961/0.3877, allocations: 4.432 MB / 398.4 MB, free: 10.31 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01126/0.3989, allocations: 2.761 MB / 401.2 MB, free: 9.777 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.03188/0.4308, allocations: 21.53 MB / 422.7 MB, free: 13.72 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06898/0.4998, allocations: 34.56 MB / 457.3 MB, free: 11.51 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0195/0.5194, allocations: 9.333 MB / 466.6 MB, free: 2.355 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02012/0.5396, allocations: 11.49 MB / 478.1 MB, free: 7.195 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007485/0.5471, allocations: 2.008 MB / 480.1 MB, free: 5.188 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01164/0.5588, allocations: 2.412 MB / 482.5 MB, free: 2.793 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00905/0.5679, allocations: 5.114 MB / 487.6 MB, free: 13.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02256/0.5905, allocations: 10.77 MB / 498.4 MB, free: 3.027 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04935/0.6398, allocations: 40.34 MB / 0.5261 GB, free: 11.35 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.6399, allocations: 0 / 0.5261 GB, free: 11.35 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.6399, allocations: 0 / 0.5261 GB, free: 11.35 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001194/0.6411, allocations: 0 / 0.5261 GB, free: 11.35 MB / 446.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.493/1.134, allocations: 24.13 MB / 0.5497 GB, free: 90.47 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/1.134, allocations: 13.58 kB / 0.5497 GB, free: 90.47 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08442/1.219, allocations: 12.28 MB / 0.5617 GB, free: 87.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04033/1.259, allocations: 12.01 MB / 0.5734 GB, free: 78.66 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002049/1.261, allocations: 1.375 MB / 0.5748 GB, free: 77.3 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01005/1.271, allocations: 1.814 MB / 0.5765 GB, free: 75.51 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1128/1.384, allocations: 30.05 MB / 0.6059 GB, free: 45.39 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001366/1.385, allocations: 27.8 kB / 0.6059 GB, free: 45.37 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009479/1.395, allocations: 0.7522 MB / 0.6066 GB, free: 44.63 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00136/1.396, allocations: 1.015 MB / 0.6076 GB, free: 43.61 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07219/1.469, allocations: 27.97 MB / 0.6349 GB, free: 15.63 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4626/1.931, allocations: 95.41 MB / 0.7281 GB, free: 163.5 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04026/1.972, allocations: 63.47 MB / 0.7901 GB, free: 111.2 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01066/1.982, allocations: 7.494 MB / 0.7974 GB, free: 111.1 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03073/2.013, allocations: 20.69 MB / 0.8176 GB, free: 106 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.827e-05/2.013, allocations: 106.8 kB / 0.8177 GB, free: 105.9 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=683): time 8.506e-06/2.013, allocations: 3.969 kB / 0.8177 GB, free: 105.9 MB / 0.5139 GB Notification: Performance of matching and sorting (n=691): time 0.08052/2.094, allocations: 38.92 MB / 0.8557 GB, free: 88.12 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.645e-05/2.094, allocations: 148.2 kB / 0.8559 GB, free: 88.02 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01074/2.105, allocations: 7.251 MB / 0.863 GB, free: 82.21 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 0.001391/2.106, allocations: 137.7 kB / 0.8631 GB, free: 82.07 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 0.003656/2.11, allocations: 7.942 MB / 0.8708 GB, free: 74.08 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.002215/2.112, allocations: 2.354 MB / 0.8731 GB, free: 71.75 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002652/2.114, allocations: 1.933 MB / 0.875 GB, free: 69.8 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 4.004e-05/2.115, allocations: 301.1 kB / 0.8753 GB, free: 69.5 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006111/2.121, allocations: 4.954 MB / 0.8802 GB, free: 64.54 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007552/2.128, allocations: 8.672 MB / 0.8886 GB, free: 54.16 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01478/2.143, allocations: 14.46 MB / 0.9027 GB, free: 37.93 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.758e-05/2.143, allocations: 36 kB / 0.9028 GB, free: 37.89 MB / 0.5139 GB Notification: Performance of matching and sorting (n=1280) (initialization): time 0.02427/2.167, allocations: 16.47 MB / 0.9189 GB, free: 21.25 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 8.64e-05/2.168, allocations: 56 kB / 0.9189 GB, free: 21.2 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001352/2.168, allocations: 124.1 kB / 0.919 GB, free: 21.08 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005585/2.173, allocations: 2.586 MB / 0.9216 GB, free: 18.46 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007669/2.181, allocations: 2.176 MB / 0.9237 GB, free: 16.29 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2193/2.4, allocations: 28.53 MB / 0.9515 GB, free: 164.9 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007306/2.408, allocations: 0.5393 MB / 0.9521 GB, free: 164.8 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001512/2.409, allocations: 479.5 kB / 0.9525 GB, free: 164.7 MB / 0.5139 GB 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.01216/2.421, allocations: 6.826 MB / 0.9592 GB, free: 161.6 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002175/2.424, allocations: 0.7829 MB / 0.96 GB, free: 161.6 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01969/2.443, allocations: 13.19 MB / 0.9728 GB, free: 156.1 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01141/2.455, allocations: 8.301 MB / 0.9809 GB, free: 152.8 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.481e-05/2.455, allocations: 30.09 kB / 0.981 GB, free: 152.8 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.681e-05/2.455, allocations: 37.84 kB / 0.981 GB, free: 152.8 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04733/2.502, allocations: 28.18 MB / 1.009 GB, free: 141.3 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.049e-05/2.502, allocations: 3.844 kB / 1.009 GB, free: 141.3 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004887/2.507, allocations: 1.103 MB / 1.01 GB, free: 141.2 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006256/2.513, allocations: 2.657 MB / 1.012 GB, free: 140.1 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001314/2.515, allocations: 155.3 kB / 1.012 GB, free: 139.9 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02904/2.544, allocations: 32.98 MB / 1.045 GB, free: 107.7 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/2.544, allocations: 4 kB / 1.045 GB, free: 107.7 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02383/2.568, allocations: 18.92 MB / 1.063 GB, free: 88.89 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004162/2.572, allocations: 1.778 MB / 1.065 GB, free: 87.39 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001394/2.573, allocations: 128 kB / 1.065 GB, free: 87.26 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003509/2.577, allocations: 391.6 kB / 1.065 GB, free: 86.88 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0013/2.578, allocations: 0.5336 MB / 1.066 GB, free: 86.34 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004237/2.579, allocations: 196 kB / 1.066 GB, free: 86.15 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.00612/2.585, allocations: 4.867 MB / 1.071 GB, free: 81.31 MB / 0.5139 GB Notification: Performance of sort global known variables: time 2e-07/2.585, allocations: 0 / 1.071 GB, free: 81.31 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.01042/2.595, allocations: 3.092 MB / 1.074 GB, free: 78.23 MB / 0.5139 GB 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.001605/2.597, allocations: 353.7 kB / 1.074 GB, free: 77.88 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.01978/2.617, allocations: 13.58 MB / 1.087 GB, free: 64.14 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 9.909e-06/2.617, allocations: 4.125 kB / 1.087 GB, free: 64.14 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.009873/2.627, allocations: 7.631 MB / 1.095 GB, free: 56.36 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01051/2.637, allocations: 2.028 MB / 1.097 GB, free: 54.33 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2372/2.874, allocations: 40.43 MB / 1.136 GB, free: 153.5 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01389/2.888, allocations: 11.43 MB / 1.147 GB, free: 152.4 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.009256/2.897, allocations: 3.37 MB / 1.151 GB, free: 152.1 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001679/2.899, allocations: 0.5646 MB / 1.151 GB, free: 152.1 MB / 0.5139 GB Notification: Performance of SimCode: time 2.114e-06/2.899, allocations: 0 / 1.151 GB, free: 152.1 MB / 0.5139 GB Notification: Performance of Templates: time 0.1834/3.083, allocations: 132.7 MB / 1.281 GB, free: 40.86 MB / 0.5139 GB 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)