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.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.1_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.1_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.009257/0.009257, allocations: 102 kB / 15.73 MB, free: 6.062 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.001775/0.001775, allocations: 192 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.635/1.635, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.00114/0.00114, allocations: 54.22 kB / 326.6 MB, free: 14.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1112, allocations: 46.62 MB / 373.2 MB, free: 1.293 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.03348/0.1448, allocations: 32.95 MB / 406.2 MB, free: 200 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02298/0.1678, allocations: 8.978 MB / 415.1 MB, free: 7.191 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007709/0.1755, allocations: 199.3 kB / 415.3 MB, free: 6.996 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0189/0.1945, allocations: 7.944 MB / 423.3 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01466/0.2092, allocations: 3.71 MB / 427 MB, free: 11.29 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008053/0.2172, allocations: 2.136 MB / 429.1 MB, free: 9.145 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02058/0.2378, allocations: 13.14 MB / 442.3 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2881/0.526, allocations: 22.47 MB / 464.7 MB, free: 9.438 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01415/0.5402, allocations: 6.616 MB / 471.3 MB, free: 9.012 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01474/0.555, allocations: 7.306 MB / 478.7 MB, free: 7.859 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007454/0.5625, allocations: 1.897 MB / 480.5 MB, free: 7.855 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01396/0.5765, allocations: 2.255 MB / 482.8 MB, free: 7.855 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009441/0.586, allocations: 3.805 MB / 486.6 MB, free: 7.445 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01755/0.6036, allocations: 7.179 MB / 493.8 MB, free: 4.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03787/0.6415, allocations: 25.14 MB / 0.5068 GB, free: 2.113 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.6415, allocations: 0 / 0.5068 GB, free: 2.113 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.6416, allocations: 4 kB / 0.5068 GB, free: 2.109 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0009631/0.6425, allocations: 0 / 0.5068 GB, free: 2.109 MB / 398.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.05675/0.6993, allocations: 15.01 MB / 0.5214 GB, free: 3.078 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.619e-05/0.6994, allocations: 11.97 kB / 0.5214 GB, free: 3.066 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04696/0.7464, allocations: 7.848 MB / 0.5291 GB, free: 11.3 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02257/0.769, allocations: 7.372 MB / 0.5363 GB, free: 4.203 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001174/0.7702, allocations: 0.8041 MB / 0.5371 GB, free: 3.41 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006275/0.7765, allocations: 1.058 MB / 0.5381 GB, free: 2.367 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0581/0.8346, allocations: 17.67 MB / 0.5554 GB, free: 0.668 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006365/0.8353, allocations: 27.36 kB / 0.5554 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004888/0.8402, allocations: 446.1 kB / 0.5558 GB, free: 228 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008897/0.8411, allocations: 0.663 MB / 0.5565 GB, free: 15.55 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04158/0.8827, allocations: 16.98 MB / 0.5731 GB, free: 14.55 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1148/0.9976, allocations: 56.63 MB / 0.6284 GB, free: 5.535 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2667/1.264, allocations: 40.05 MB / 0.6675 GB, free: 137.7 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01002/1.274, allocations: 4.471 MB / 0.6718 GB, free: 137.2 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02443/1.299, allocations: 12.69 MB / 0.6842 GB, free: 131.2 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.635e-05/1.299, allocations: 78.75 kB / 0.6843 GB, free: 131.1 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=398): time 6.071e-06/1.299, allocations: 0 / 0.6843 GB, free: 131.1 MB / 0.5137 GB Notification: Performance of matching and sorting (n=423): time 0.05226/1.351, allocations: 21.7 MB / 0.7055 GB, free: 121.2 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.412e-05/1.351, allocations: 120 kB / 0.7056 GB, free: 121.1 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01063/1.362, allocations: 4.837 MB / 0.7103 GB, free: 119.3 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000543/1.363, allocations: 100.7 kB / 0.7104 GB, free: 119.2 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003353/1.366, allocations: 4.96 MB / 0.7153 GB, free: 115.4 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.00146/1.367, allocations: 1.529 MB / 0.7168 GB, free: 114.2 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003088/1.37, allocations: 1.199 MB / 0.7179 GB, free: 113.7 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 5.941e-05/1.371, allocations: 301.1 kB / 0.7182 GB, free: 113.4 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004716/1.375, allocations: 2.965 MB / 0.7211 GB, free: 112.2 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006065/1.381, allocations: 5.24 MB / 0.7262 GB, free: 107.8 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009897/1.391, allocations: 8.73 MB / 0.7348 GB, free: 98.08 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.221e-05/1.391, allocations: 20 kB / 0.7348 GB, free: 98.06 MB / 0.5137 GB Notification: Performance of matching and sorting (n=803) (initialization): time 0.01705/1.408, allocations: 10.06 MB / 0.7446 GB, free: 87.94 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.005e-05/1.409, allocations: 37.09 kB / 0.7446 GB, free: 87.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001344/1.409, allocations: 76 kB / 0.7447 GB, free: 87.83 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004612/1.413, allocations: 1.673 MB / 0.7464 GB, free: 86.15 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005125/1.418, allocations: 1.392 MB / 0.7477 GB, free: 84.76 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02193/1.44, allocations: 17.79 MB / 0.7651 GB, free: 66.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007578/1.448, allocations: 339.6 kB / 0.7654 GB, free: 66.09 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001718/1.45, allocations: 296 kB / 0.7657 GB, free: 65.8 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.01235/1.462, allocations: 3.958 MB / 0.7696 GB, free: 61.82 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002609/1.465, allocations: 0.5201 MB / 0.7701 GB, free: 61.3 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01627/1.481, allocations: 7.793 MB / 0.7777 GB, free: 53.41 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-05/1.481, allocations: 44 kB / 0.7777 GB, free: 53.36 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.433e-05/1.481, allocations: 16 kB / 0.7777 GB, free: 53.35 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.752e-05/1.481, allocations: 19.92 kB / 0.7778 GB, free: 53.33 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04432/1.526, allocations: 17.54 MB / 0.7949 GB, free: 35.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.912e-05/1.526, allocations: 7.984 kB / 0.7949 GB, free: 35.62 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003576/1.529, allocations: 0.7218 MB / 0.7956 GB, free: 34.91 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004485/1.534, allocations: 1.555 MB / 0.7971 GB, free: 33.32 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001153/1.535, allocations: 104 kB / 0.7972 GB, free: 33.22 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02186/1.557, allocations: 21.22 MB / 0.8179 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.486e-06/1.557, allocations: 7.938 kB / 0.8179 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3431/1.9, allocations: 11.49 MB / 0.8292 GB, free: 155.3 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004288/1.904, allocations: 1.178 MB / 0.8303 GB, free: 155.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00183/1.906, allocations: 90.59 kB / 0.8304 GB, free: 155.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004036/1.91, allocations: 233.5 kB / 0.8306 GB, free: 155.2 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001105/1.911, allocations: 331.4 kB / 0.8309 GB, free: 155.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003682/1.912, allocations: 127.5 kB / 0.8311 GB, free: 155.2 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.007826/1.92, allocations: 3.253 MB / 0.8342 GB, free: 155 MB / 0.5137 GB Notification: Performance of sort global known variables: time 5.11e-07/1.92, allocations: 0 / 0.8342 GB, free: 155 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.01411/1.934, allocations: 1.896 MB / 0.8361 GB, free: 155 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.001855/1.936, allocations: 267.2 kB / 0.8363 GB, free: 154.9 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01645/1.952, allocations: 8.263 MB / 0.8444 GB, free: 153.4 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.505e-05/1.952, allocations: 3.938 kB / 0.8444 GB, free: 153.4 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.008046/1.96, allocations: 4.663 MB / 0.849 GB, free: 151 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009837/1.97, allocations: 1.31 MB / 0.8503 GB, free: 150.6 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04725/2.017, allocations: 19.74 MB / 0.8695 GB, free: 141.5 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01453/2.032, allocations: 6.848 MB / 0.8762 GB, free: 139 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00769/2.04, allocations: 1.934 MB / 0.8781 GB, free: 138.7 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002153/2.042, allocations: 383 kB / 0.8785 GB, free: 138.7 MB / 0.5137 GB Notification: Performance of SimCode: time 7.71e-07/2.042, allocations: 0 / 0.8785 GB, free: 138.7 MB / 0.5137 GB Notification: Performance of Templates: time 0.1327/2.175, allocations: 81.67 MB / 0.9582 GB, free: 65.86 MB / 0.5137 GB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1)