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.001218/0.001218, allocations: 109.8 kB / 17.06 MB, free: 5.973 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.001209/0.001209, allocations: 200 kB / 18.01 MB, free: 5.055 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.54/1.54, 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.001128/0.001128, allocations: 51.92 kB / 327.9 MB, free: 3.25 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09957/0.1007, allocations: 46.61 MB / 374.5 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.2543/0.3551, allocations: 32.95 MB / 407.5 MB, free: 7.703 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02678/0.3819, allocations: 8.984 MB / 416.4 MB, free: 1.203 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009894/0.3918, allocations: 200.6 kB / 416.6 MB, free: 1.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02069/0.4126, allocations: 7.96 MB / 424.6 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01636/0.429, allocations: 3.698 MB / 428.3 MB, free: 8.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007928/0.4369, allocations: 2.132 MB / 430.4 MB, free: 6.492 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0205/0.4574, allocations: 13.14 MB / 443.6 MB, free: 10.52 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03663/0.4941, allocations: 22.48 MB / 466.1 MB, free: 3.863 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01182/0.506, allocations: 6.65 MB / 472.7 MB, free: 13.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01298/0.519, allocations: 7.307 MB / 480 MB, free: 5.863 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005412/0.5245, allocations: 1.895 MB / 481.9 MB, free: 3.969 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007738/0.5322, allocations: 2.25 MB / 484.2 MB, free: 1.719 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00705/0.5393, allocations: 3.819 MB / 488 MB, free: 13.89 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01429/0.5536, allocations: 7.187 MB / 495.2 MB, free: 6.676 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02988/0.5835, allocations: 25.07 MB / 0.508 GB, free: 13.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/0.5836, allocations: 0 / 0.508 GB, free: 13.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.5836, allocations: 4 kB / 0.508 GB, free: 13.53 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006711/0.5843, allocations: 0 / 0.508 GB, free: 13.53 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.04594/0.6302, allocations: 14.74 MB / 0.5224 GB, free: 14.68 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.6303, allocations: 12.03 kB / 0.5224 GB, free: 14.67 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04297/0.6733, allocations: 7.79 MB / 0.5301 GB, free: 6.855 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01708/0.6904, allocations: 7.34 MB / 0.5372 GB, free: 15.43 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009207/0.6914, allocations: 0.8027 MB / 0.538 GB, free: 14.63 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004516/0.6959, allocations: 1.058 MB / 0.539 GB, free: 13.57 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5163/1.212, allocations: 17.67 MB / 0.5563 GB, free: 129.9 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005505/1.213, allocations: 20 kB / 0.5563 GB, free: 129.9 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00403/1.217, allocations: 448.3 kB / 0.5567 GB, free: 129.9 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001642/1.218, allocations: 0.6625 MB / 0.5574 GB, free: 129.9 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04717/1.266, allocations: 16.99 MB / 0.574 GB, free: 123.5 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1064/1.372, allocations: 56.49 MB / 0.6291 GB, free: 80.38 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02723/1.399, allocations: 40.05 MB / 0.6683 GB, free: 35.39 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006419/1.406, allocations: 4.472 MB / 0.6726 GB, free: 30.92 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02041/1.426, allocations: 12.66 MB / 0.685 GB, free: 18.27 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.16e-05/1.426, allocations: 81.81 kB / 0.6851 GB, free: 18.18 MB / 478.1 MB Notification: Performance of pre-optimization done (n=398): time 5.47e-06/1.426, allocations: 3.938 kB / 0.6851 GB, free: 18.17 MB / 478.1 MB Notification: Performance of matching and sorting (n=423): time 0.04572/1.472, allocations: 21.46 MB / 0.706 GB, free: 12.36 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.911e-05/1.472, allocations: 128.6 kB / 0.7061 GB, free: 12.21 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007714/1.48, allocations: 4.82 MB / 0.7109 GB, free: 7.387 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001009/1.481, allocations: 97.7 kB / 0.7109 GB, free: 7.285 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004139/1.485, allocations: 4.795 MB / 0.7156 GB, free: 2.457 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002562/1.488, allocations: 1.458 MB / 0.7171 GB, free: 1.008 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002308/1.49, allocations: 1.192 MB / 0.7182 GB, free: 15.8 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0001147/1.49, allocations: 305.1 kB / 0.7185 GB, free: 15.5 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005039/1.495, allocations: 2.964 MB / 0.7214 GB, free: 12.54 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007263/1.503, allocations: 5.24 MB / 0.7265 GB, free: 6.254 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0148/1.517, allocations: 8.725 MB / 0.735 GB, free: 12.47 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001005/1.518, allocations: 20 kB / 0.7351 GB, free: 12.45 MB / 0.5138 GB Notification: Performance of matching and sorting (n=803) (initialization): time 0.02313/1.541, allocations: 10.04 MB / 0.7449 GB, free: 2.355 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001008/1.541, allocations: 36 kB / 0.7449 GB, free: 2.32 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001621/1.541, allocations: 75.94 kB / 0.745 GB, free: 2.246 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004906/1.546, allocations: 1.668 MB / 0.7466 GB, free: 0.5703 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2765/1.822, allocations: 1.392 MB / 0.748 GB, free: 165.1 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02582/1.848, allocations: 17.77 MB / 0.7653 GB, free: 156 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006159/1.855, allocations: 340.3 kB / 0.7656 GB, free: 155.9 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001188/1.856, allocations: 304.1 kB / 0.7659 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.008172/1.864, allocations: 3.946 MB / 0.7698 GB, free: 153.9 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001442/1.865, allocations: 0.4997 MB / 0.7703 GB, free: 153.9 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0136/1.879, allocations: 7.798 MB / 0.7779 GB, free: 150.5 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.667e-05/1.879, allocations: 43.09 kB / 0.7779 GB, free: 150.5 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.326e-05/1.879, allocations: 21.83 kB / 0.7779 GB, free: 150.5 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.144e-05/1.879, allocations: 24.88 kB / 0.778 GB, free: 150.5 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02756/1.907, allocations: 17.52 MB / 0.7951 GB, free: 143 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.659e-05/1.907, allocations: 7.281 kB / 0.7951 GB, free: 143 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002829/1.91, allocations: 0.7261 MB / 0.7958 GB, free: 143 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003792/1.913, allocations: 1.556 MB / 0.7973 GB, free: 142.6 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003964/1.914, allocations: 104.3 kB / 0.7974 GB, free: 142.5 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01878/1.933, allocations: 21.21 MB / 0.8181 GB, free: 125.9 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/1.933, allocations: 11.94 kB / 0.8181 GB, free: 125.9 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01505/1.948, allocations: 11.46 MB / 0.8293 GB, free: 115.9 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003044/1.951, allocations: 1.164 MB / 0.8305 GB, free: 114.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007467/1.952, allocations: 85.31 kB / 0.8305 GB, free: 114.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002533/1.954, allocations: 235.8 kB / 0.8308 GB, free: 114.6 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007255/1.955, allocations: 327.3 kB / 0.8311 GB, free: 114.2 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002555/1.955, allocations: 132 kB / 0.8312 GB, free: 114.1 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.004384/1.959, allocations: 3.251 MB / 0.8344 GB, free: 110.9 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.9e-07/1.959, allocations: 0 / 0.8344 GB, free: 110.9 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.006612/1.966, allocations: 1.897 MB / 0.8362 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.0007035/1.967, allocations: 269.7 kB / 0.8365 GB, free: 108.7 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01172/1.979, allocations: 8.26 MB / 0.8446 GB, free: 100.4 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 8.887e-06/1.979, allocations: 0 / 0.8446 GB, free: 100.4 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.006693/1.985, allocations: 4.644 MB / 0.8491 GB, free: 95.67 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0061/1.991, allocations: 1.316 MB / 0.8504 GB, free: 94.36 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03696/2.028, allocations: 19.43 MB / 0.8694 GB, free: 74.87 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00713/2.036, allocations: 6.843 MB / 0.876 GB, free: 67.98 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.004961/2.041, allocations: 1.928 MB / 0.8779 GB, free: 66.05 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001157/2.042, allocations: 387.3 kB / 0.8783 GB, free: 65.67 MB / 0.5138 GB Notification: Performance of SimCode: time 6.61e-07/2.042, allocations: 0 / 0.8783 GB, free: 65.67 MB / 0.5138 GB Notification: Performance of Templates: time 0.3584/2.4, allocations: 82.29 MB / 0.9586 GB, free: 151.8 MB / 0.5138 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)