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.001292/0.001292, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001622/0.001622, allocations: 194.2 kB / 16.14 MB, free: 6.66 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.563/1.563, allocations: 205.1 MB / 222 MB, free: 4.73 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.001377/0.001377, allocations: 47.94 kB / 278.1 MB, free: 12.73 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2672/0.2686, allocations: 46.62 MB / 324.7 MB, free: 1.938 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.03269/0.3013, allocations: 32.38 MB / 357.1 MB, free: 3.645 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02292/0.3243, allocations: 8.883 MB / 366 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009388/0.3337, allocations: 195.2 kB / 366.2 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01864/0.3525, allocations: 7.46 MB / 373.6 MB, free: 3.059 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01367/0.3662, allocations: 3.395 MB / 377 MB, free: 15.64 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007466/0.3736, allocations: 1.992 MB / 379 MB, free: 13.65 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0221/0.3958, allocations: 13.56 MB / 392.6 MB, free: 40 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03526/0.4311, allocations: 18.26 MB / 410.8 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01156/0.4427, allocations: 5.545 MB / 416.4 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01256/0.4553, allocations: 6.87 MB / 423.2 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005404/0.4607, allocations: 1.152 MB / 424.4 MB, free: 24 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008219/0.469, allocations: 1.515 MB / 425.9 MB, free: 14.5 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006415/0.4754, allocations: 3.045 MB / 428.9 MB, free: 11.45 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01417/0.4897, allocations: 6.398 MB / 435.3 MB, free: 5.023 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4071/0.8968, allocations: 24.42 MB / 459.8 MB, free: 43.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.275e-06/0.8968, allocations: 2.953 kB / 459.8 MB, free: 43.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.8968, allocations: 0.625 kB / 459.8 MB, free: 43.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000721/0.8975, allocations: 0 / 459.8 MB, free: 43.45 MB / 382.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.04907/0.9466, allocations: 14.8 MB / 474.6 MB, free: 39.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.9467, allocations: 12.48 kB / 474.6 MB, free: 39.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04433/0.991, allocations: 7.738 MB / 482.3 MB, free: 38.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01839/1.009, allocations: 7.271 MB / 489.6 MB, free: 36.35 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001067/1.011, allocations: 0.8011 MB / 490.4 MB, free: 36.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005961/1.017, allocations: 1.068 MB / 491.5 MB, free: 36.31 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05458/1.071, allocations: 17.68 MB / 0.4972 GB, free: 21.15 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009344/1.072, allocations: 15.47 kB / 0.4972 GB, free: 21.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005806/1.078, allocations: 449.6 kB / 0.4976 GB, free: 20.71 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001046/1.079, allocations: 0.6553 MB / 0.4983 GB, free: 20.05 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03934/1.118, allocations: 16.97 MB / 0.5149 GB, free: 3.062 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1194/1.238, allocations: 57.17 MB / 0.5707 GB, free: 9.559 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03674/1.275, allocations: 40.05 MB / 0.6098 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008987/1.284, allocations: 4.508 MB / 0.6142 GB, free: 8.039 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2439/1.528, allocations: 12.71 MB / 0.6266 GB, free: 189.6 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.671e-05/1.528, allocations: 76.53 kB / 0.6267 GB, free: 189.6 MB / 494.1 MB Notification: Performance of pre-optimization done (n=398): time 6.031e-06/1.528, allocations: 0.6094 kB / 0.6267 GB, free: 189.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=423): time 0.04313/1.571, allocations: 21.45 MB / 0.6476 GB, free: 181.3 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.593e-05/1.571, allocations: 128.9 kB / 0.6478 GB, free: 181.2 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008528/1.58, allocations: 4.827 MB / 0.6525 GB, free: 179.4 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008411/1.58, allocations: 96.7 kB / 0.6526 GB, free: 179.3 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002896/1.583, allocations: 4.793 MB / 0.6572 GB, free: 175.7 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001735/1.585, allocations: 1.459 MB / 0.6587 GB, free: 174.6 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002756/1.588, allocations: 1.186 MB / 0.6598 GB, free: 174 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.843e-05/1.588, allocations: 307.3 kB / 0.6601 GB, free: 173.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004179/1.592, allocations: 2.966 MB / 0.663 GB, free: 172.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005541/1.598, allocations: 5.243 MB / 0.6681 GB, free: 167.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01475/1.612, allocations: 8.714 MB / 0.6766 GB, free: 158.3 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001164/1.613, allocations: 24 kB / 0.6767 GB, free: 158.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=803) (initialization): time 0.01937/1.632, allocations: 10.04 MB / 0.6865 GB, free: 149.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.267e-05/1.632, allocations: 40 kB / 0.6865 GB, free: 149.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001322/1.632, allocations: 72 kB / 0.6866 GB, free: 149.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00431/1.637, allocations: 1.674 MB / 0.6882 GB, free: 147.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005114/1.642, allocations: 1.397 MB / 0.6896 GB, free: 146.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01858/1.66, allocations: 16.48 MB / 0.7057 GB, free: 129.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006679/1.667, allocations: 343.6 kB / 0.706 GB, free: 129 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002045/1.669, allocations: 304 kB / 0.7063 GB, free: 128.7 MB / 494.1 MB 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.008543/1.678, allocations: 3.951 MB / 0.7101 GB, free: 124.8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002052/1.68, allocations: 0.4978 MB / 0.7106 GB, free: 124.3 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01456/1.694, allocations: 7.8 MB / 0.7183 GB, free: 116.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-05/1.694, allocations: 47.98 kB / 0.7183 GB, free: 116.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.685e-05/1.695, allocations: 17.2 kB / 0.7183 GB, free: 116.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.432e-05/1.695, allocations: 23.86 kB / 0.7183 GB, free: 116.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03721/1.732, allocations: 17.53 MB / 0.7355 GB, free: 98.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.683e-05/1.732, allocations: 7.984 kB / 0.7355 GB, free: 98.58 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003418/1.735, allocations: 0.7224 MB / 0.7362 GB, free: 97.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004209/1.74, allocations: 1.556 MB / 0.7377 GB, free: 96.28 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008669/1.74, allocations: 112 kB / 0.7378 GB, free: 96.17 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01898/1.759, allocations: 19.52 MB / 0.7569 GB, free: 75.77 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/1.76, allocations: 7.984 kB / 0.7569 GB, free: 75.76 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01867/1.778, allocations: 11.46 MB / 0.7681 GB, free: 64.11 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003457/1.782, allocations: 1.151 MB / 0.7692 GB, free: 62.94 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002033/1.784, allocations: 87.98 kB / 0.7693 GB, free: 62.85 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004003/1.788, allocations: 235.8 kB / 0.7695 GB, free: 62.62 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001244/1.789, allocations: 319.3 kB / 0.7698 GB, free: 62.31 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006092/1.79, allocations: 136 kB / 0.7699 GB, free: 62.18 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.006715/1.796, allocations: 3.255 MB / 0.7731 GB, free: 58.93 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.4e-07/1.796, allocations: 3.062 kB / 0.7731 GB, free: 58.93 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01077/1.807, allocations: 1.894 MB / 0.775 GB, free: 57.04 MB / 494.1 MB 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.001473/1.809, allocations: 274.3 kB / 0.7752 GB, free: 56.77 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01581/1.825, allocations: 8.216 MB / 0.7832 GB, free: 48.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.708e-05/1.825, allocations: 4 kB / 0.7832 GB, free: 48.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008541/1.833, allocations: 4.644 MB / 0.7878 GB, free: 43.77 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0108/1.844, allocations: 1.243 MB / 0.789 GB, free: 42.52 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2536/2.098, allocations: 24.23 MB / 0.8127 GB, free: 170.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01372/2.111, allocations: 6.852 MB / 0.8194 GB, free: 169.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.006516/2.118, allocations: 1.936 MB / 0.8212 GB, free: 169.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001394/2.119, allocations: 380.5 kB / 0.8216 GB, free: 169.7 MB / 494.1 MB Notification: Performance of SimCode: time 9.22e-07/2.119, allocations: 3.875 kB / 0.8216 GB, free: 169.7 MB / 494.1 MB Notification: Performance of Templates: time 0.125/2.244, allocations: 82.82 MB / 0.9025 GB, free: 104.5 MB / 494.1 MB 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)