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.009486/0.009486, allocations: 101.7 kB / 15.73 MB, free: 5.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.002047/0.002047, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.465/1.465, allocations: 205.1 MB / 222.5 MB, free: 12.22 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.001131/0.001131, allocations: 55.92 kB / 326.6 MB, free: 3.258 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1029, allocations: 46.62 MB / 373.2 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.292/0.3949, allocations: 32.94 MB / 406.1 MB, free: 7.684 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02679/0.4217, allocations: 8.984 MB / 415.1 MB, free: 1.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01101/0.4328, allocations: 204 kB / 415.3 MB, free: 1.133 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02213/0.455, allocations: 7.96 MB / 423.3 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01903/0.4741, allocations: 3.704 MB / 427 MB, free: 8.199 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009479/0.4836, allocations: 2.133 MB / 429.1 MB, free: 6.461 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02317/0.5068, allocations: 13.14 MB / 442.3 MB, free: 10.5 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04167/0.5485, allocations: 22.48 MB / 464.7 MB, free: 3.852 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01264/0.5612, allocations: 6.611 MB / 471.3 MB, free: 13.22 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0145/0.5757, allocations: 7.307 MB / 478.7 MB, free: 5.891 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007116/0.5829, allocations: 1.891 MB / 480.5 MB, free: 4 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00988/0.5928, allocations: 2.25 MB / 482.8 MB, free: 1.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008313/0.6011, allocations: 3.819 MB / 486.6 MB, free: 13.92 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01839/0.6195, allocations: 7.183 MB / 493.8 MB, free: 6.711 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03568/0.6553, allocations: 25.07 MB / 0.5067 GB, free: 13.57 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.6553, allocations: 0 / 0.5067 GB, free: 13.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.6553, allocations: 0 / 0.5067 GB, free: 13.57 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0008123/0.6561, allocations: 0 / 0.5067 GB, free: 13.57 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.05027/0.7064, allocations: 14.75 MB / 0.5211 GB, free: 14.7 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.571e-05/0.7065, allocations: 12.03 kB / 0.5211 GB, free: 14.69 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0446/0.7511, allocations: 7.778 MB / 0.5287 GB, free: 6.891 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01733/0.7685, allocations: 7.347 MB / 0.5359 GB, free: 15.46 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008858/0.7694, allocations: 0.8105 MB / 0.5367 GB, free: 14.65 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006339/0.7757, allocations: 1.062 MB / 0.5377 GB, free: 13.59 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4922/1.268, allocations: 17.67 MB / 0.555 GB, free: 129.9 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007104/1.269, allocations: 15.3 kB / 0.555 GB, free: 129.9 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00463/1.273, allocations: 453.7 kB / 0.5554 GB, free: 129.9 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001277/1.275, allocations: 0.6647 MB / 0.5561 GB, free: 129.9 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04791/1.323, allocations: 16.99 MB / 0.5727 GB, free: 123.5 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1008/1.423, allocations: 56.48 MB / 0.6278 GB, free: 80.41 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02737/1.451, allocations: 40.05 MB / 0.6669 GB, free: 35.42 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006444/1.457, allocations: 4.468 MB / 0.6713 GB, free: 30.95 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02016/1.477, allocations: 12.66 MB / 0.6837 GB, free: 18.3 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.506e-05/1.477, allocations: 77.81 kB / 0.6837 GB, free: 18.21 MB / 478.1 MB Notification: Performance of pre-optimization done (n=398): time 5.48e-06/1.477, allocations: 0 / 0.6837 GB, free: 18.21 MB / 478.1 MB Notification: Performance of matching and sorting (n=423): time 0.04281/1.52, allocations: 21.46 MB / 0.7047 GB, free: 12.37 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.911e-05/1.52, allocations: 128.7 kB / 0.7048 GB, free: 12.23 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008723/1.529, allocations: 4.82 MB / 0.7095 GB, free: 7.402 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001024/1.53, allocations: 97.7 kB / 0.7096 GB, free: 7.301 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003915/1.534, allocations: 4.798 MB / 0.7143 GB, free: 2.473 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002196/1.536, allocations: 1.453 MB / 0.7157 GB, free: 1.027 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002135/1.539, allocations: 1.192 MB / 0.7169 GB, free: 15.82 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0001128/1.539, allocations: 309 kB / 0.7172 GB, free: 15.52 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004852/1.543, allocations: 2.964 MB / 0.7201 GB, free: 12.55 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006612/1.55, allocations: 5.244 MB / 0.7252 GB, free: 6.266 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01278/1.563, allocations: 8.72 MB / 0.7337 GB, free: 12.49 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.168e-05/1.563, allocations: 24 kB / 0.7337 GB, free: 12.46 MB / 0.5138 GB Notification: Performance of matching and sorting (n=803) (initialization): time 0.02439/1.587, allocations: 10.04 MB / 0.7435 GB, free: 2.371 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001143/1.588, allocations: 37.09 kB / 0.7436 GB, free: 2.336 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001577/1.588, allocations: 75.94 kB / 0.7436 GB, free: 2.262 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005183/1.593, allocations: 1.67 MB / 0.7453 GB, free: 0.5859 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3121/1.905, allocations: 1.396 MB / 0.7466 GB, free: 165.1 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02522/1.93, allocations: 17.76 MB / 0.764 GB, free: 156 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006219/1.937, allocations: 341 kB / 0.7643 GB, free: 155.9 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001268/1.938, allocations: 306 kB / 0.7646 GB, free: 155.8 MB / 0.5138 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.009051/1.947, allocations: 3.944 MB / 0.7685 GB, free: 153.9 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001889/1.949, allocations: 0.5053 MB / 0.7689 GB, free: 153.9 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01489/1.964, allocations: 7.795 MB / 0.7766 GB, free: 150.6 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.43e-05/1.964, allocations: 43.12 kB / 0.7766 GB, free: 150.6 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.286e-05/1.964, allocations: 16.5 kB / 0.7766 GB, free: 150.6 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.17e-05/1.964, allocations: 22.22 kB / 0.7766 GB, free: 150.6 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02954/1.994, allocations: 17.53 MB / 0.7938 GB, free: 143.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.899e-05/1.994, allocations: 3.719 kB / 0.7938 GB, free: 143.1 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003007/1.997, allocations: 0.7264 MB / 0.7945 GB, free: 143 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004019/2.001, allocations: 1.561 MB / 0.796 GB, free: 142.6 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004522/2.001, allocations: 105.9 kB / 0.7961 GB, free: 142.5 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01917/2.02, allocations: 21.21 MB / 0.8168 GB, free: 125.9 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/2.02, allocations: 8.156 kB / 0.8168 GB, free: 125.9 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01587/2.036, allocations: 11.46 MB / 0.828 GB, free: 115.9 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003198/2.039, allocations: 1.164 MB / 0.8291 GB, free: 114.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008053/2.04, allocations: 84 kB / 0.8292 GB, free: 114.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002518/2.043, allocations: 236.6 kB / 0.8294 GB, free: 114.6 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000761/2.044, allocations: 329.1 kB / 0.8298 GB, free: 114.2 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002523/2.044, allocations: 128 kB / 0.8299 GB, free: 114.1 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.005189/2.049, allocations: 3.255 MB / 0.8331 GB, free: 110.9 MB / 0.5138 GB Notification: Performance of sort global known variables: time 7.41e-07/2.049, allocations: 0 / 0.8331 GB, free: 110.9 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01038/2.059, allocations: 1.893 MB / 0.8349 GB, free: 109 MB / 0.5138 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.001062/2.061, allocations: 265.9 kB / 0.8352 GB, free: 108.7 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.0142/2.075, allocations: 8.267 MB / 0.8432 GB, free: 100.4 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.185e-05/2.075, allocations: 0 / 0.8432 GB, free: 100.4 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.007624/2.082, allocations: 4.638 MB / 0.8478 GB, free: 95.69 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007686/2.09, allocations: 1.319 MB / 0.8491 GB, free: 94.38 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03641/2.127, allocations: 19.43 MB / 0.868 GB, free: 74.88 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008855/2.135, allocations: 6.851 MB / 0.8747 GB, free: 67.99 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.005965/2.141, allocations: 1.928 MB / 0.8766 GB, free: 66.05 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001452/2.143, allocations: 387.4 kB / 0.877 GB, free: 65.68 MB / 0.5138 GB Notification: Performance of SimCode: time 8.52e-07/2.143, allocations: 0 / 0.877 GB, free: 65.68 MB / 0.5138 GB Notification: Performance of Templates: time 0.3752/2.518, allocations: 81.65 MB / 0.9567 GB, free: 152 MB / 0.5138 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)