Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001373/0.001373, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001513/0.001513, allocations: 191.3 kB / 16.14 MB, free: 6.707 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.45/1.45, allocations: 205.1 MB / 222 MB, free: 4.992 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.001474/0.001474, allocations: 51.92 kB / 278.1 MB, free: 12.98 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.2115, allocations: 46.62 MB / 324.7 MB, free: 1.832 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.03111/0.2426, allocations: 32.38 MB / 357.1 MB, free: 3.684 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01844/0.2611, allocations: 8.887 MB / 366 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006343/0.2675, allocations: 195.2 kB / 366.2 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01717/0.2847, allocations: 7.459 MB / 373.6 MB, free: 3.094 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01352/0.2982, allocations: 3.395 MB / 377 MB, free: 15.68 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006607/0.3049, allocations: 1.98 MB / 379 MB, free: 13.7 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01783/0.3227, allocations: 13.56 MB / 392.6 MB, free: 88 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03328/0.356, allocations: 18.26 MB / 410.8 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01058/0.3666, allocations: 5.541 MB / 416.4 MB, free: 8.113 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01063/0.3773, allocations: 6.866 MB / 423.2 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004143/0.3815, allocations: 1.152 MB / 424.4 MB, free: 72 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005857/0.3874, allocations: 1.523 MB / 425.9 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004653/0.392, allocations: 3.041 MB / 428.9 MB, free: 11.5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01098/0.403, allocations: 6.398 MB / 435.3 MB, free: 5.07 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3635/0.7665, allocations: 24.42 MB / 459.8 MB, free: 43.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.7666, allocations: 0.5312 kB / 459.8 MB, free: 43.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.7666, allocations: 0 / 459.8 MB, free: 43.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0007513/0.7674, allocations: 0.5 kB / 459.8 MB, free: 43.29 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.04721/0.8146, allocations: 14.8 MB / 474.6 MB, free: 39.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.8146, allocations: 7.562 kB / 474.6 MB, free: 39.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04313/0.8578, allocations: 7.744 MB / 482.3 MB, free: 38.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0206/0.8784, allocations: 7.263 MB / 489.6 MB, free: 36.22 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001538/0.88, allocations: 0.807 MB / 490.4 MB, free: 36.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005915/0.8859, allocations: 1.069 MB / 491.5 MB, free: 36.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04749/0.9334, allocations: 17.68 MB / 0.4972 GB, free: 21.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006226/0.9341, allocations: 15.89 kB / 0.4972 GB, free: 21.12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00537/0.9395, allocations: 449.6 kB / 0.4976 GB, free: 20.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007096/0.9402, allocations: 0.6563 MB / 0.4983 GB, free: 20.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03469/0.9749, allocations: 16.97 MB / 0.5149 GB, free: 3.043 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1203/1.095, allocations: 57.16 MB / 0.5707 GB, free: 9.551 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03499/1.13, allocations: 40.07 MB / 0.6098 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00814/1.138, allocations: 4.5 MB / 0.6142 GB, free: 8.023 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2224/1.361, allocations: 12.71 MB / 0.6266 GB, free: 189.6 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.502e-05/1.361, allocations: 78.72 kB / 0.6267 GB, free: 189.6 MB / 494.1 MB Notification: Performance of pre-optimization done (n=398): time 6.011e-06/1.361, allocations: 0 / 0.6267 GB, free: 189.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=423): time 0.04067/1.402, allocations: 21.44 MB / 0.6476 GB, free: 181.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.044e-05/1.402, allocations: 130.6 kB / 0.6478 GB, free: 181.1 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006249/1.408, allocations: 4.832 MB / 0.6525 GB, free: 179.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007134/1.409, allocations: 96.45 kB / 0.6526 GB, free: 179.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002096/1.411, allocations: 4.79 MB / 0.6572 GB, free: 175.6 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001324/1.412, allocations: 1.46 MB / 0.6587 GB, free: 174.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001635/1.414, allocations: 1.193 MB / 0.6598 GB, free: 173.9 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.965e-05/1.414, allocations: 304.9 kB / 0.6601 GB, free: 173.6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003677/1.418, allocations: 2.964 MB / 0.663 GB, free: 172.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004456/1.422, allocations: 5.241 MB / 0.6681 GB, free: 167.4 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008761/1.431, allocations: 8.717 MB / 0.6766 GB, free: 158.3 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-05/1.431, allocations: 24 kB / 0.6767 GB, free: 158.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=803) (initialization): time 0.0157/1.447, allocations: 10.03 MB / 0.6865 GB, free: 149.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.165e-05/1.447, allocations: 37.2 kB / 0.6865 GB, free: 149.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001343/1.447, allocations: 76 kB / 0.6866 GB, free: 149.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004164/1.451, allocations: 1.679 MB / 0.6882 GB, free: 147.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00494/1.456, allocations: 1.396 MB / 0.6896 GB, free: 146.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01848/1.475, allocations: 16.49 MB / 0.7057 GB, free: 129.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005609/1.48, allocations: 339.7 kB / 0.706 GB, free: 129 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001266/1.481, allocations: 304 kB / 0.7063 GB, free: 128.8 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.006555/1.488, allocations: 3.951 MB / 0.7102 GB, free: 124.8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001254/1.489, allocations: 0.5017 MB / 0.7106 GB, free: 124.3 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01164/1.501, allocations: 7.796 MB / 0.7183 GB, free: 116.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.612e-05/1.501, allocations: 44 kB / 0.7183 GB, free: 116.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.207e-05/1.501, allocations: 16 kB / 0.7183 GB, free: 116.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-05/1.501, allocations: 23.91 kB / 0.7183 GB, free: 116.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02568/1.527, allocations: 17.53 MB / 0.7355 GB, free: 98.62 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-05/1.527, allocations: 6.562 kB / 0.7355 GB, free: 98.61 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003091/1.53, allocations: 0.7255 MB / 0.7362 GB, free: 97.89 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003891/1.534, allocations: 1.558 MB / 0.7377 GB, free: 96.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005564/1.534, allocations: 99.97 kB / 0.7378 GB, free: 96.21 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01713/1.552, allocations: 19.53 MB / 0.7569 GB, free: 75.79 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/1.552, allocations: 7.938 kB / 0.7569 GB, free: 75.79 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01476/1.566, allocations: 11.46 MB / 0.7681 GB, free: 64.15 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002603/1.569, allocations: 1.155 MB / 0.7692 GB, free: 62.97 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009574/1.57, allocations: 87.98 kB / 0.7693 GB, free: 62.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00253/1.573, allocations: 227.8 kB / 0.7695 GB, free: 62.66 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000691/1.573, allocations: 335.3 kB / 0.7698 GB, free: 62.33 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002529/1.573, allocations: 128 kB / 0.7699 GB, free: 62.21 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003927/1.577, allocations: 3.255 MB / 0.7731 GB, free: 58.96 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/1.577, allocations: 0 / 0.7731 GB, free: 58.96 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006278/1.584, allocations: 1.895 MB / 0.775 GB, free: 57.06 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.0005922/1.584, allocations: 282.5 kB / 0.7752 GB, free: 56.79 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01068/1.595, allocations: 8.211 MB / 0.7832 GB, free: 48.53 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/1.595, allocations: 0 / 0.7832 GB, free: 48.53 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006031/1.601, allocations: 4.647 MB / 0.7878 GB, free: 43.79 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00653/1.608, allocations: 1.242 MB / 0.789 GB, free: 42.54 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1946/1.802, allocations: 24.24 MB / 0.8127 GB, free: 170.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007709/1.81, allocations: 6.849 MB / 0.8194 GB, free: 169.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005483/1.815, allocations: 1.933 MB / 0.8212 GB, free: 169.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001131/1.817, allocations: 388.8 kB / 0.8216 GB, free: 169.5 MB / 494.1 MB Notification: Performance of SimCode: time 8.22e-07/1.817, allocations: 1.641 kB / 0.8216 GB, free: 169.5 MB / 494.1 MB Notification: Performance of Templates: time 0.1155/1.932, allocations: 82.81 MB / 0.9025 GB, free: 104.5 MB / 494.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1)