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.0008261/0.000826, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006587/0.006587, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.4 MB / 222.4 MB, free: 5.566 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.0004768/0.0004767, allocations: 8.422 kB / 279.5 MB, free: 12.49 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2529, allocations: 47.58 MB / 327.1 MB, free: 1.543 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.03263/0.2855, allocations: 31.08 MB / 358.1 MB, free: 4.293 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02276/0.3084, allocations: 8.821 MB / 367 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007111/0.3155, allocations: 195.2 kB / 367.1 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007256/0.3228, allocations: 2.115 MB / 369.3 MB, free: 9.133 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01264/0.3355, allocations: 3.371 MB / 372.6 MB, free: 5.746 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006625/0.3421, allocations: 1.875 MB / 374.5 MB, free: 3.871 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.02035/0.3625, allocations: 13.56 MB / 388.1 MB, free: 6.258 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04203/0.4045, allocations: 21.51 MB / 409.6 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009215/0.4138, allocations: 4.674 MB / 414.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0103/0.4241, allocations: 5.761 MB / 420 MB, free: 6.113 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00451/0.4287, allocations: 0.7305 MB / 420.7 MB, free: 5.383 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007521/0.4362, allocations: 1.093 MB / 421.8 MB, free: 4.289 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004981/0.4412, allocations: 2.452 MB / 424.3 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01168/0.4529, allocations: 5.72 MB / 430 MB, free: 12.07 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0268/0.4798, allocations: 23.52 MB / 453.5 MB, free: 4.477 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.4798, allocations: 0 / 453.5 MB, free: 4.477 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.015e-06/0.4798, allocations: 4 kB / 453.5 MB, free: 4.473 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0007477/0.4806, allocations: 0 / 453.5 MB, free: 4.473 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.3907/0.8713, allocations: 12.38 MB / 465.9 MB, free: 94.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.8714, allocations: 7.875 kB / 465.9 MB, free: 94.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04158/0.913, allocations: 7.775 MB / 473.7 MB, free: 90.83 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01338/0.9264, allocations: 7.3 MB / 481 MB, free: 83.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006584/0.9271, allocations: 0.8084 MB / 481.8 MB, free: 82.72 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003862/0.931, allocations: 1.075 MB / 482.9 MB, free: 81.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04034/0.9713, allocations: 17.68 MB / 0.4888 GB, free: 63.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004225/0.9718, allocations: 19.8 kB / 0.4888 GB, free: 63.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003105/0.9749, allocations: 455.3 kB / 0.4893 GB, free: 63.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005251/0.9754, allocations: 0.6563 MB / 0.4899 GB, free: 62.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03091/1.006, allocations: 16.99 MB / 0.5065 GB, free: 45.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09095/1.097, allocations: 57.33 MB / 0.5625 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03757/1.135, allocations: 40.04 MB / 0.6016 GB, free: 6.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008251/1.143, allocations: 4.513 MB / 0.606 GB, free: 1.977 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02528/1.169, allocations: 12.72 MB / 0.6184 GB, free: 5.258 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.989e-05/1.169, allocations: 77.81 kB / 0.6185 GB, free: 5.172 MB / 462.1 MB Notification: Performance of pre-optimization done (n=398): time 8.546e-06/1.169, allocations: 0 / 0.6185 GB, free: 5.172 MB / 462.1 MB Notification: Performance of matching and sorting (n=423): time 0.2561/1.425, allocations: 21.57 MB / 0.6396 GB, free: 154.3 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.192e-05/1.425, allocations: 121.2 kB / 0.6397 GB, free: 154.2 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006912/1.432, allocations: 4.824 MB / 0.6444 GB, free: 152.4 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008489/1.433, allocations: 97.36 kB / 0.6445 GB, free: 152.3 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002801/1.435, allocations: 4.797 MB / 0.6492 GB, free: 148.7 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00195/1.437, allocations: 1.455 MB / 0.6506 GB, free: 147.6 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007171/1.438, allocations: 493.4 kB / 0.6511 GB, free: 147.4 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 6.024e-05/1.438, allocations: 308.9 kB / 0.6514 GB, free: 147.1 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004066/1.442, allocations: 2.974 MB / 0.6543 GB, free: 145.9 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005437/1.448, allocations: 5.247 MB / 0.6594 GB, free: 141.8 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009791/1.458, allocations: 8.746 MB / 0.6679 GB, free: 134.8 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-05/1.458, allocations: 23.61 kB / 0.668 GB, free: 134.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=803) (initialization): time 0.01712/1.475, allocations: 10.06 MB / 0.6778 GB, free: 125.9 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.555e-05/1.475, allocations: 36 kB / 0.6778 GB, free: 125.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001183/1.475, allocations: 77.12 kB / 0.6779 GB, free: 125.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004214/1.479, allocations: 1.677 MB / 0.6795 GB, free: 124.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005351/1.485, allocations: 1.4 MB / 0.6809 GB, free: 122.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01861/1.503, allocations: 16.49 MB / 0.697 GB, free: 105.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006642/1.51, allocations: 347.6 kB / 0.6973 GB, free: 105.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001244/1.511, allocations: 304 kB / 0.6976 GB, free: 105 MB / 462.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.008039/1.519, allocations: 3.943 MB / 0.7015 GB, free: 101.1 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001716/1.521, allocations: 0.5006 MB / 0.702 GB, free: 100.6 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01254/1.534, allocations: 7.821 MB / 0.7096 GB, free: 92.64 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.054e-05/1.534, allocations: 44 kB / 0.7096 GB, free: 92.6 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.823e-05/1.534, allocations: 19.94 kB / 0.7097 GB, free: 92.58 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.856e-05/1.534, allocations: 23.92 kB / 0.7097 GB, free: 92.56 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02698/1.561, allocations: 17.55 MB / 0.7268 GB, free: 74.87 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.504e-05/1.561, allocations: 4 kB / 0.7268 GB, free: 74.87 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002972/1.564, allocations: 0.7295 MB / 0.7275 GB, free: 74.14 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003903/1.568, allocations: 1.551 MB / 0.729 GB, free: 72.56 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006397/1.568, allocations: 111.8 kB / 0.7292 GB, free: 72.46 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01887/1.587, allocations: 19.54 MB / 0.7482 GB, free: 52.02 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/1.587, allocations: 8 kB / 0.7482 GB, free: 52.01 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01705/1.604, allocations: 11.49 MB / 0.7595 GB, free: 40.34 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003242/1.608, allocations: 1.174 MB / 0.7606 GB, free: 39.14 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001144/1.609, allocations: 88 kB / 0.7607 GB, free: 39.06 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002867/1.612, allocations: 238.4 kB / 0.7609 GB, free: 38.83 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008034/1.612, allocations: 339.2 kB / 0.7612 GB, free: 38.49 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002584/1.613, allocations: 128 kB / 0.7614 GB, free: 38.37 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004533/1.617, allocations: 3.251 MB / 0.7645 GB, free: 35.12 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.31e-07/1.617, allocations: 0 / 0.7645 GB, free: 35.12 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.007555/1.625, allocations: 1.895 MB / 0.7664 GB, free: 33.23 MB / 462.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.0008542/1.626, allocations: 277.4 kB / 0.7667 GB, free: 32.95 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01328/1.639, allocations: 8.234 MB / 0.7747 GB, free: 24.66 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.109e-05/1.639, allocations: 1.875 kB / 0.7747 GB, free: 24.66 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007314/1.646, allocations: 4.672 MB / 0.7793 GB, free: 19.9 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01249/1.659, allocations: 1.243 MB / 0.7805 GB, free: 18.66 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2443/1.903, allocations: 24.4 MB / 0.8043 GB, free: 138.8 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008125/1.911, allocations: 6.853 MB / 0.811 GB, free: 137.9 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.006114/1.918, allocations: 1.938 MB / 0.8129 GB, free: 137.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001179/1.919, allocations: 386.9 kB / 0.8133 GB, free: 137.7 MB / 462.1 MB Notification: Performance of SimCode: time 1.603e-06/1.919, allocations: 0 / 0.8133 GB, free: 137.7 MB / 462.1 MB Notification: Performance of Templates: time 0.1253/2.044, allocations: 81.46 MB / 0.8928 GB, free: 65.23 MB / 462.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)