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.006021/0.006021, allocations: 98.56 kB / 15.73 MB, free: 6.008 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.001156/0.001156, allocations: 190.9 kB / 16.67 MB, free: 5.938 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.584/1.584, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.001167/0.001167, allocations: 46.34 kB / 326.6 MB, free: 14.45 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1114, allocations: 46.63 MB / 373.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.03461/0.146, allocations: 32.95 MB / 406.2 MB, free: 232 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02404/0.1701, allocations: 8.978 MB / 415.1 MB, free: 7.223 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008394/0.1785, allocations: 199.3 kB / 415.3 MB, free: 7.027 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01968/0.1983, allocations: 7.952 MB / 423.3 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01415/0.2124, allocations: 3.702 MB / 427 MB, free: 11.32 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007638/0.2201, allocations: 2.144 MB / 429.1 MB, free: 9.168 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02324/0.2433, allocations: 13.14 MB / 442.3 MB, free: 11.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3525/0.5959, allocations: 22.46 MB / 464.7 MB, free: 9.594 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01325/0.6092, allocations: 6.621 MB / 471.3 MB, free: 9.168 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01398/0.6233, allocations: 7.312 MB / 478.7 MB, free: 8.012 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006459/0.6298, allocations: 1.894 MB / 480.5 MB, free: 8.012 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00944/0.6392, allocations: 2.252 MB / 482.8 MB, free: 8.008 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008938/0.6482, allocations: 3.815 MB / 486.6 MB, free: 7.598 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0194/0.6676, allocations: 7.175 MB / 493.8 MB, free: 4.422 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0423/0.7099, allocations: 25.14 MB / 0.5068 GB, free: 2.105 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.578e-06/0.71, allocations: 0 / 0.5068 GB, free: 2.105 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.71, allocations: 0 / 0.5068 GB, free: 2.105 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0009281/0.711, allocations: 4 kB / 0.5068 GB, free: 2.102 MB / 398.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.05335/0.7643, allocations: 15.01 MB / 0.5214 GB, free: 3.07 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.7644, allocations: 8.031 kB / 0.5214 GB, free: 3.062 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04573/0.8101, allocations: 7.839 MB / 0.5291 GB, free: 11.3 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01989/0.8301, allocations: 7.386 MB / 0.5363 GB, free: 4.195 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001071/0.8312, allocations: 0.8037 MB / 0.5371 GB, free: 3.402 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006643/0.8379, allocations: 1.055 MB / 0.5381 GB, free: 2.359 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05901/0.8969, allocations: 17.68 MB / 0.5554 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005544/0.8975, allocations: 15.91 kB / 0.5554 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004156/0.9017, allocations: 445.2 kB / 0.5558 GB, free: 224 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007824/0.9025, allocations: 0.6705 MB / 0.5565 GB, free: 15.55 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04024/0.9427, allocations: 16.97 MB / 0.5731 GB, free: 14.55 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1073/1.05, allocations: 56.63 MB / 0.6284 GB, free: 5.531 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5305/1.581, allocations: 40.05 MB / 0.6675 GB, free: 135.6 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008752/1.589, allocations: 4.468 MB / 0.6718 GB, free: 134.9 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02252/1.612, allocations: 12.69 MB / 0.6842 GB, free: 129 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.474e-05/1.612, allocations: 77.56 kB / 0.6843 GB, free: 128.9 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=398): time 5.28e-06/1.612, allocations: 0 / 0.6843 GB, free: 128.9 MB / 0.5138 GB Notification: Performance of matching and sorting (n=423): time 0.04646/1.659, allocations: 21.71 MB / 0.7055 GB, free: 119.3 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.023e-05/1.659, allocations: 122 kB / 0.7056 GB, free: 119.2 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008527/1.667, allocations: 4.831 MB / 0.7103 GB, free: 117.5 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0009494/1.668, allocations: 93.27 kB / 0.7104 GB, free: 117.4 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.00287/1.671, allocations: 4.964 MB / 0.7153 GB, free: 114.2 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001764/1.673, allocations: 1.525 MB / 0.7168 GB, free: 113 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001874/1.675, allocations: 1.203 MB / 0.7179 GB, free: 112.4 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 4.924e-05/1.675, allocations: 301.1 kB / 0.7182 GB, free: 112.1 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00393/1.679, allocations: 2.965 MB / 0.7211 GB, free: 110.9 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005307/1.684, allocations: 5.238 MB / 0.7262 GB, free: 106 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009642/1.694, allocations: 8.721 MB / 0.7348 GB, free: 96.26 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.941e-05/1.694, allocations: 20 kB / 0.7348 GB, free: 96.24 MB / 0.5138 GB Notification: Performance of matching and sorting (n=803) (initialization): time 0.01868/1.713, allocations: 10.07 MB / 0.7446 GB, free: 86.12 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001424/1.713, allocations: 36 kB / 0.7446 GB, free: 86.08 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001993/1.713, allocations: 76.41 kB / 0.7447 GB, free: 86.01 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004928/1.718, allocations: 1.67 MB / 0.7463 GB, free: 84.33 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006113/1.724, allocations: 1.4 MB / 0.7477 GB, free: 82.93 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02087/1.745, allocations: 17.78 MB / 0.7651 GB, free: 64.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006244/1.751, allocations: 343.7 kB / 0.7654 GB, free: 64.27 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001377/1.753, allocations: 304 kB / 0.7657 GB, free: 63.97 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.01157/1.764, allocations: 3.954 MB / 0.7696 GB, free: 60 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002363/1.767, allocations: 0.5162 MB / 0.7701 GB, free: 59.48 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01668/1.783, allocations: 7.797 MB / 0.7777 GB, free: 51.58 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.021e-05/1.783, allocations: 47.94 kB / 0.7777 GB, free: 51.54 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.001e-05/1.783, allocations: 17.44 kB / 0.7777 GB, free: 51.52 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-05/1.784, allocations: 27.89 kB / 0.7778 GB, free: 51.49 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03722/1.821, allocations: 17.53 MB / 0.7949 GB, free: 33.81 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.928e-05/1.821, allocations: 4 kB / 0.7949 GB, free: 33.81 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003178/1.824, allocations: 0.7301 MB / 0.7956 GB, free: 33.08 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004023/1.828, allocations: 1.551 MB / 0.7971 GB, free: 31.5 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005299/1.829, allocations: 115.8 kB / 0.7972 GB, free: 31.39 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01972/1.848, allocations: 21.21 MB / 0.8179 GB, free: 9.223 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.625e-06/1.848, allocations: 11.94 kB / 0.8179 GB, free: 9.211 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3142/2.163, allocations: 11.49 MB / 0.8292 GB, free: 154.2 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003582/2.166, allocations: 1.174 MB / 0.8303 GB, free: 154.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001424/2.168, allocations: 89.02 kB / 0.8304 GB, free: 154.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00357/2.171, allocations: 228.9 kB / 0.8306 GB, free: 154.1 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00109/2.172, allocations: 337.7 kB / 0.8309 GB, free: 154.1 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003733/2.173, allocations: 128.1 kB / 0.8311 GB, free: 154.1 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.006982/2.18, allocations: 3.255 MB / 0.8342 GB, free: 153.9 MB / 0.5138 GB Notification: Performance of sort global known variables: time 3.8e-07/2.18, allocations: 0 / 0.8342 GB, free: 153.9 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01047/2.19, allocations: 1.893 MB / 0.8361 GB, free: 153.9 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.001361/2.192, allocations: 270.3 kB / 0.8363 GB, free: 153.8 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01423/2.206, allocations: 8.262 MB / 0.8444 GB, free: 151.2 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.309e-05/2.206, allocations: 0 / 0.8444 GB, free: 151.2 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.008314/2.214, allocations: 4.661 MB / 0.849 GB, free: 148.8 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00811/2.222, allocations: 1.31 MB / 0.8502 GB, free: 148.4 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03749/2.26, allocations: 19.74 MB / 0.8695 GB, free: 139.3 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01361/2.274, allocations: 6.851 MB / 0.8762 GB, free: 136.8 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.008472/2.282, allocations: 1.931 MB / 0.8781 GB, free: 136.5 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001493/2.284, allocations: 389 kB / 0.8785 GB, free: 136.5 MB / 0.5138 GB Notification: Performance of SimCode: time 1.893e-06/2.284, allocations: 0 / 0.8785 GB, free: 136.5 MB / 0.5138 GB Notification: Performance of Templates: time 0.1239/2.407, allocations: 81.67 MB / 0.9582 GB, free: 61.69 MB / 0.5138 GB 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)