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.IMC_Initialize.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.IMC_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=300000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=300000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 106.2 kB / 17.06 MB, free: 6.098 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.001331/0.001331, allocations: 200.1 kB / 18 MB, free: 5.168 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.511/1.511, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.001188/0.001188, allocations: 51.92 kB / 327.9 MB, free: 3.27 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1108, allocations: 46.62 MB / 374.5 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.2651/0.3759, allocations: 32.95 MB / 407.5 MB, free: 7.691 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02805/0.404, allocations: 8.974 MB / 416.4 MB, free: 1.195 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01147/0.4155, allocations: 203.8 kB / 416.6 MB, free: 1.148 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02242/0.438, allocations: 7.965 MB / 424.6 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01827/0.4563, allocations: 3.707 MB / 428.3 MB, free: 8.219 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008747/0.4651, allocations: 2.122 MB / 430.4 MB, free: 6.492 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02163/0.4867, allocations: 13.14 MB / 443.6 MB, free: 10.52 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04125/0.528, allocations: 22.47 MB / 466.1 MB, free: 3.871 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01544/0.5435, allocations: 6.611 MB / 472.7 MB, free: 13.24 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01475/0.5583, allocations: 7.319 MB / 480 MB, free: 5.898 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006803/0.5651, allocations: 1.891 MB / 481.9 MB, free: 4.008 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01006/0.5752, allocations: 2.25 MB / 484.1 MB, free: 1.758 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007716/0.5829, allocations: 3.807 MB / 487.9 MB, free: 13.94 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01804/0.601, allocations: 7.183 MB / 495.1 MB, free: 6.73 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04388/0.6449, allocations: 25.14 MB / 0.5081 GB, free: 13.51 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.718e-06/0.645, allocations: 0 / 0.5081 GB, free: 13.51 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.645, allocations: 0 / 0.5081 GB, free: 13.51 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001008/0.646, allocations: 0 / 0.5081 GB, free: 13.51 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: 3009 * Number of variables: 3009 Notification: Performance of Generate backend data structure: time 0.0545/0.7005, allocations: 15.02 MB / 0.5227 GB, free: 14.37 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/0.7006, allocations: 8.031 kB / 0.5227 GB, free: 14.36 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04556/0.7462, allocations: 7.851 MB / 0.5304 GB, free: 6.492 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01947/0.7657, allocations: 7.366 MB / 0.5376 GB, free: 15.05 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001219/0.767, allocations: 0.8027 MB / 0.5384 GB, free: 14.25 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00705/0.774, allocations: 1.066 MB / 0.5394 GB, free: 13.18 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3464/1.121, allocations: 17.66 MB / 0.5567 GB, free: 132.3 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008274/1.121, allocations: 23.31 kB / 0.5567 GB, free: 132.3 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004715/1.126, allocations: 446 kB / 0.5571 GB, free: 132.3 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001148/1.127, allocations: 0.6627 MB / 0.5578 GB, free: 132.3 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04518/1.172, allocations: 16.98 MB / 0.5743 GB, free: 126 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.103/1.275, allocations: 56.62 MB / 0.6296 GB, free: 82.55 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02726/1.303, allocations: 40.06 MB / 0.6688 GB, free: 37.56 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007277/1.31, allocations: 4.477 MB / 0.6731 GB, free: 33.08 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01966/1.33, allocations: 12.69 MB / 0.6855 GB, free: 20.41 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.13e-05/1.33, allocations: 77.81 kB / 0.6856 GB, free: 20.32 MB / 478.1 MB Notification: Performance of pre-optimization done (n=398): time 7.074e-06/1.33, allocations: 3.984 kB / 0.6856 GB, free: 20.31 MB / 478.1 MB Notification: Performance of matching and sorting (n=423): time 0.04373/1.374, allocations: 21.7 MB / 0.7068 GB, free: 14.26 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.379e-05/1.374, allocations: 124.7 kB / 0.7069 GB, free: 14.12 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008235/1.382, allocations: 4.833 MB / 0.7116 GB, free: 9.285 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009721/1.383, allocations: 101.7 kB / 0.7117 GB, free: 9.18 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003932/1.387, allocations: 4.949 MB / 0.7166 GB, free: 4.215 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002209/1.389, allocations: 1.524 MB / 0.718 GB, free: 2.711 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002087/1.391, allocations: 1.204 MB / 0.7192 GB, free: 1.492 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/1.391, allocations: 305.1 kB / 0.7195 GB, free: 1.191 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004685/1.396, allocations: 2.96 MB / 0.7224 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006658/1.403, allocations: 5.244 MB / 0.7275 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01367/1.417, allocations: 8.719 MB / 0.736 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.729e-05/1.417, allocations: 24 kB / 0.7361 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of matching and sorting (n=803) (initialization): time 0.02699/1.444, allocations: 10.06 MB / 0.7459 GB, free: 4.027 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001873/1.444, allocations: 37.09 kB / 0.7459 GB, free: 3.992 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002379/1.444, allocations: 75.94 kB / 0.746 GB, free: 3.918 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007815/1.452, allocations: 1.676 MB / 0.7476 GB, free: 2.234 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00943/1.461, allocations: 1.392 MB / 0.749 GB, free: 0.8398 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3536/1.815, allocations: 17.78 MB / 0.7664 GB, free: 157.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008788/1.824, allocations: 342.2 kB / 0.7667 GB, free: 157.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002249/1.826, allocations: 300.3 kB / 0.767 GB, free: 157.2 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 335 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (710): * Single equations (assignments): 706 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (7,28,67.3%), (1,1,100.0%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01287/1.839, allocations: 3.952 MB / 0.7708 GB, free: 155.3 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002148/1.841, allocations: 0.5206 MB / 0.7713 GB, free: 155.3 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01864/1.86, allocations: 7.799 MB / 0.779 GB, free: 152 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.144e-05/1.86, allocations: 42.84 kB / 0.779 GB, free: 152 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.963e-05/1.86, allocations: 20.03 kB / 0.779 GB, free: 152 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.376e-05/1.86, allocations: 24.66 kB / 0.779 GB, free: 152 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03193/1.892, allocations: 17.54 MB / 0.7962 GB, free: 144.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.849e-05/1.892, allocations: 7.688 kB / 0.7962 GB, free: 144.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003071/1.895, allocations: 0.725 MB / 0.7969 GB, free: 144.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004121/1.899, allocations: 1.559 MB / 0.7984 GB, free: 144 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006742/1.9, allocations: 98.67 kB / 0.7985 GB, free: 144 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02/1.92, allocations: 21.23 MB / 0.8192 GB, free: 128.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.085e-05/1.92, allocations: 11.38 kB / 0.8192 GB, free: 128.4 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01729/1.937, allocations: 11.49 MB / 0.8305 GB, free: 119.2 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003223/1.941, allocations: 1.176 MB / 0.8316 GB, free: 118.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001398/1.942, allocations: 92 kB / 0.8317 GB, free: 118.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003524/1.946, allocations: 231.2 kB / 0.8319 GB, free: 118 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001058/1.947, allocations: 331 kB / 0.8322 GB, free: 117.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004763/1.947, allocations: 127.4 kB / 0.8324 GB, free: 117.7 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.006489/1.954, allocations: 3.255 MB / 0.8355 GB, free: 114.5 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.693e-06/1.954, allocations: 0 / 0.8355 GB, free: 114.5 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.009734/1.963, allocations: 1.897 MB / 0.8374 GB, free: 112.6 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.strayReluctance.Phi.re,imc.stator.strayReluctance.Phi.im,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (364): * Single equations (assignments): 357 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (14,44,40.8%), (2,12,100.0%), (1,1,100.0%), (1,12,100.0%), (1,5,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001202/1.965, allocations: 261.8 kB / 0.8376 GB, free: 112.4 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01418/1.979, allocations: 8.261 MB / 0.8457 GB, free: 104.1 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.394e-05/1.979, allocations: 5 kB / 0.8457 GB, free: 104.1 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.008003/1.987, allocations: 4.665 MB / 0.8503 GB, free: 99.32 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009811/1.997, allocations: 1.301 MB / 0.8515 GB, free: 98.02 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03829/2.035, allocations: 19.73 MB / 0.8708 GB, free: 78.21 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00765/2.043, allocations: 6.851 MB / 0.8775 GB, free: 71.32 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.005469/2.048, allocations: 1.932 MB / 0.8794 GB, free: 69.38 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001195/2.049, allocations: 383.4 kB / 0.8797 GB, free: 69 MB / 0.5137 GB Notification: Performance of SimCode: time 1.092e-06/2.05, allocations: 0 / 0.8797 GB, free: 69 MB / 0.5137 GB Notification: Performance of Templates: time 0.3603/2.41, allocations: 81.67 MB / 0.9595 GB, free: 154.1 MB / 0.5137 GB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1)