Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 91.22 kB / 16.32 MB, free: 5.633 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.00173/0.00173, allocations: 181.4 kB / 17.2 MB, free: 5.555 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.849/1.849, allocations: 205.4 MB / 223.4 MB, free: 5.539 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.0005626/0.000563, allocations: 16 kB / 280.1 MB, free: 12.81 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.3769, allocations: 47.6 MB / 327.7 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.01095/0.3879, allocations: 7.831 MB / 335.6 MB, free: 11.29 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008068/0.3961, allocations: 2.73 MB / 338.3 MB, free: 8.918 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002604/0.3988, allocations: 31.88 kB / 338.3 MB, free: 8.887 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002544/0.4014, allocations: 0.4932 MB / 338.8 MB, free: 8.391 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004148/0.4055, allocations: 0.6177 MB / 339.4 MB, free: 7.77 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001617/0.4072, allocations: 207.7 kB / 339.6 MB, free: 7.566 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.005738/0.4129, allocations: 2.467 MB / 342.1 MB, free: 5.086 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003071/0.416, allocations: 1.197 MB / 343.3 MB, free: 3.855 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002856/0.4189, allocations: 0.8093 MB / 344.1 MB, free: 3.043 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003259/0.4222, allocations: 1.129 MB / 345.3 MB, free: 1.902 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009919/0.4232, allocations: 124 kB / 345.4 MB, free: 1.781 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001692/0.4249, allocations: 187.9 kB / 345.6 MB, free: 1.598 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001468/0.4264, allocations: 0.623 MB / 346.2 MB, free: 0.9727 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001638/0.4281, allocations: 452.5 kB / 346.6 MB, free: 0.5234 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004977/0.4331, allocations: 2.961 MB / 349.6 MB, free: 13.55 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.315e-06/0.4331, allocations: 0 / 349.6 MB, free: 13.55 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.4331, allocations: 0 / 349.6 MB, free: 13.55 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001794/0.4333, allocations: 0 / 349.6 MB, free: 13.55 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.007173/0.4405, allocations: 2.216 MB / 351.8 MB, free: 11.28 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.917e-05/0.4406, allocations: 8.031 kB / 351.8 MB, free: 11.27 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001567/0.4421, allocations: 265.1 kB / 352.1 MB, free: 11.01 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003852/0.446, allocations: 1.252 MB / 353.3 MB, free: 9.703 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001777/0.4462, allocations: 131.6 kB / 353.4 MB, free: 9.574 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008619/0.4471, allocations: 195.8 kB / 353.6 MB, free: 9.383 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007805/0.4549, allocations: 2.402 MB / 356 MB, free: 6.945 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000117/0.4551, allocations: 0 / 356 MB, free: 6.945 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005135/0.4557, allocations: 72 kB / 356.1 MB, free: 6.875 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001744/0.4558, allocations: 91.48 kB / 356.2 MB, free: 6.785 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005621/0.4615, allocations: 2.024 MB / 358.2 MB, free: 4.758 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01923/0.4808, allocations: 7.503 MB / 365.7 MB, free: 13.05 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002778/0.4836, allocations: 1.287 MB / 367 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002386/0.4861, allocations: 0.9042 MB / 367.9 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003821/0.4865, allocations: 122.1 kB / 368 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.913e-05/0.4866, allocations: 39.56 kB / 368.1 MB, free: 10.6 MB / 302.1 MB Notification: Performance of pre-optimization done (n=84): time 4.528e-06/0.4866, allocations: 0 / 368.1 MB, free: 10.6 MB / 302.1 MB Notification: Performance of matching and sorting (n=100): time 0.01348/0.5001, allocations: 5.045 MB / 373.1 MB, free: 5.441 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.491e-05/0.5002, allocations: 68.39 kB / 373.2 MB, free: 5.363 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00341/0.5037, allocations: 1.357 MB / 374.5 MB, free: 4 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001425/0.5038, allocations: 45.7 kB / 374.6 MB, free: 3.949 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001016/0.5049, allocations: 0.8969 MB / 375.5 MB, free: 3.039 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004806/0.5054, allocations: 350.9 kB / 375.8 MB, free: 2.691 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.072e-05/0.5055, allocations: 24 kB / 375.8 MB, free: 2.668 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002211/0.5057, allocations: 357.9 kB / 376.2 MB, free: 2.312 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001307/0.507, allocations: 0.6349 MB / 376.8 MB, free: 1.68 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001497/0.5085, allocations: 0.9259 MB / 377.8 MB, free: 0.625 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001464/0.51, allocations: 0.7722 MB / 378.5 MB, free: 15.85 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.351e-05/0.51, allocations: 4 kB / 378.5 MB, free: 15.85 MB / 318.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.00507/0.5151, allocations: 2.392 MB / 380.9 MB, free: 13.45 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.853e-05/0.5152, allocations: 8 kB / 380.9 MB, free: 13.44 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.743e-05/0.5152, allocations: 12 kB / 380.9 MB, free: 13.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002016/0.5172, allocations: 0.7043 MB / 381.7 MB, free: 12.71 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000976/0.5182, allocations: 247.6 kB / 381.9 MB, free: 12.47 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01253/0.5308, allocations: 7.986 MB / 389.9 MB, free: 4.223 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001571/0.5324, allocations: 91.97 kB / 390 MB, free: 4.133 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002338/0.5327, allocations: 44 kB / 390 MB, free: 4.09 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (114): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(6,77.8%) 29} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001805/0.5345, allocations: 0.6262 MB / 390.6 MB, free: 3.453 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005084/0.535, allocations: 146.2 kB / 390.8 MB, free: 3.309 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004252/0.5393, allocations: 1.905 MB / 392.7 MB, free: 1.375 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-05/0.5393, allocations: 12 kB / 392.7 MB, free: 1.363 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.879e-05/0.5393, allocations: 4 kB / 392.7 MB, free: 1.359 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/0.5393, allocations: 7.922 kB / 392.7 MB, free: 1.352 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008914/0.5483, allocations: 4.022 MB / 396.7 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/0.5483, allocations: 0 / 396.7 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000864/0.5492, allocations: 196 kB / 396.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001422/0.5506, allocations: 462.8 kB / 397.4 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001157/0.5508, allocations: 27.92 kB / 397.4 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009503/0.5603, allocations: 6.148 MB / 403.5 MB, free: 6.004 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-05/0.5604, allocations: 4.031 kB / 403.6 MB, free: 6 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006474/0.5668, allocations: 2.79 MB / 406.3 MB, free: 3.16 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001546/0.5684, allocations: 359.2 kB / 406.7 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006413/0.5691, allocations: 31.92 kB / 406.7 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/0.5703, allocations: 75.92 kB / 406.8 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002734/0.5706, allocations: 80.83 kB / 406.9 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.302e-05/0.5707, allocations: 28 kB / 406.9 MB, free: 2.578 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.002456/0.5731, allocations: 0.9465 MB / 407.9 MB, free: 1.629 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5731, allocations: 4 kB / 407.9 MB, free: 1.625 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002481/0.5756, allocations: 440.1 kB / 408.3 MB, free: 1.195 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],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 (84): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000415/0.5761, allocations: 135 kB / 408.4 MB, free: 1.051 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.004443/0.5805, allocations: 2.009 MB / 410.4 MB, free: 15.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/0.5805, allocations: 3.938 kB / 410.4 MB, free: 15.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002547/0.5831, allocations: 1.352 MB / 411.8 MB, free: 13.6 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002773/0.5859, allocations: 364.8 kB / 412.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009477/0.5954, allocations: 4.773 MB / 416.9 MB, free: 8.418 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002263/0.5977, allocations: 1.685 MB / 418.6 MB, free: 6.699 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001392/0.5991, allocations: 312 kB / 418.9 MB, free: 6.391 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004435/0.5996, allocations: 95.42 kB / 419 MB, free: 6.297 MB / 350.1 MB Notification: Performance of SimCode: time 1.453e-06/0.5996, allocations: 0 / 419 MB, free: 6.297 MB / 350.1 MB Notification: Performance of Templates: time 0.04699/0.6466, allocations: 22.09 MB / 441.1 MB, free: 172 kB / 366.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe 2>&1)