Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.001245/0.001245, 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.001572/0.001572, allocations: 194 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.914/1.914, allocations: 205.1 MB / 222 MB, free: 4.758 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.001298/0.001298, allocations: 51.92 kB / 278.1 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.396/0.3973, allocations: 46.62 MB / 324.7 MB, free: 1.949 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.01445/0.4118, allocations: 8.811 MB / 333.5 MB, free: 11.01 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.009315/0.4213, allocations: 2.891 MB / 336.4 MB, free: 8.414 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002928/0.4243, allocations: 31.88 kB / 336.4 MB, free: 8.383 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003259/0.4277, allocations: 0.5375 MB / 337 MB, free: 7.844 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005092/0.4328, allocations: 0.6528 MB / 337.6 MB, free: 7.188 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001405/0.4343, allocations: 287.7 kB / 337.9 MB, free: 6.906 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.005338/0.4396, allocations: 2.763 MB / 340.7 MB, free: 4.129 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002871/0.4425, allocations: 1.413 MB / 342.1 MB, free: 2.672 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002806/0.4454, allocations: 0.926 MB / 343 MB, free: 1.742 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003795/0.4492, allocations: 1.292 MB / 344.3 MB, free: 456 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008731/0.4502, allocations: 172 kB / 344.5 MB, free: 284 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001517/0.4517, allocations: 275.8 kB / 344.7 MB, free: 8 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001013/0.4527, allocations: 0.6894 MB / 345.4 MB, free: 15.31 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002133/0.4549, allocations: 1.143 MB / 346.6 MB, free: 14.16 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004802/0.4597, allocations: 3.555 MB / 350.1 MB, free: 10.6 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.829e-06/0.4597, allocations: 0 / 350.1 MB, free: 10.6 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4597, allocations: 0 / 350.1 MB, free: 10.6 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001494/0.4599, allocations: 0 / 350.1 MB, free: 10.6 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.009176/0.4691, allocations: 2.579 MB / 352.7 MB, free: 7.965 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.032e-05/0.4692, allocations: 8.031 kB / 352.7 MB, free: 7.957 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009351/0.4701, allocations: 262.1 kB / 353 MB, free: 7.699 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002857/0.473, allocations: 1.303 MB / 354.3 MB, free: 6.34 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001219/0.4731, allocations: 136 kB / 354.4 MB, free: 6.207 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003423/0.4735, allocations: 196 kB / 354.6 MB, free: 6.016 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005277/0.4788, allocations: 2.402 MB / 357 MB, free: 3.578 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.796e-05/0.4789, allocations: 11.94 kB / 357 MB, free: 3.566 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001927/0.4791, allocations: 75.98 kB / 357.1 MB, free: 3.492 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001103/0.4792, allocations: 87.48 kB / 357.2 MB, free: 3.406 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004208/0.4834, allocations: 2.009 MB / 359.2 MB, free: 1.395 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01501/0.4985, allocations: 7.452 MB / 366.6 MB, free: 9.734 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002526/0.5011, allocations: 1.272 MB / 367.9 MB, free: 8.402 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001879/0.503, allocations: 0.9081 MB / 368.8 MB, free: 7.488 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003289/0.5034, allocations: 118.1 kB / 368.9 MB, free: 7.355 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.392e-05/0.5034, allocations: 47.5 kB / 369 MB, free: 7.297 MB / 302.1 MB Notification: Performance of pre-optimization done (n=84): time 4.318e-06/0.5035, allocations: 4 kB / 369 MB, free: 7.293 MB / 302.1 MB Notification: Performance of matching and sorting (n=100): time 0.01151/0.515, allocations: 5.001 MB / 374 MB, free: 2.176 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.39e-05/0.5151, allocations: 68.33 kB / 374 MB, free: 2.098 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002701/0.5178, allocations: 1.38 MB / 375.4 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002557/0.5181, allocations: 45.64 kB / 375.5 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001101/0.5192, allocations: 0.8971 MB / 376.3 MB, free: 15.74 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004662/0.5197, allocations: 350.9 kB / 376.7 MB, free: 15.39 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000413/0.5201, allocations: 218.8 kB / 376.9 MB, free: 15.17 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.5203, allocations: 349.9 kB / 377.2 MB, free: 14.82 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00109/0.5214, allocations: 0.6311 MB / 377.9 MB, free: 14.2 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001335/0.5228, allocations: 0.9259 MB / 378.8 MB, free: 13.14 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002319/0.5251, allocations: 1.649 MB / 380.5 MB, free: 11.38 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.796e-06/0.5251, allocations: 7.938 kB / 380.5 MB, free: 11.37 MB / 318.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004844/0.53, allocations: 2.376 MB / 382.8 MB, free: 8.98 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.713e-05/0.5301, allocations: 15.98 kB / 382.9 MB, free: 8.965 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.295e-05/0.5301, allocations: 12 kB / 382.9 MB, free: 8.953 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002061/0.5322, allocations: 0.7041 MB / 383.6 MB, free: 8.242 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/0.5333, allocations: 235.6 kB / 383.8 MB, free: 8.012 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01131/0.5446, allocations: 8.013 MB / 391.8 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001529/0.5462, allocations: 91.97 kB / 391.9 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001495/0.5463, allocations: 48 kB / 391.9 MB, free: 15.59 MB / 334.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (6,29,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001414/0.5477, allocations: 0.6301 MB / 392.6 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004863/0.5482, allocations: 142.2 kB / 392.7 MB, free: 14.81 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003527/0.5518, allocations: 1.893 MB / 394.6 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.548e-05/0.5518, allocations: 8 kB / 394.6 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/0.5518, allocations: 11.94 kB / 394.6 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/0.5519, allocations: 3.984 kB / 394.6 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008332/0.5602, allocations: 4.014 MB / 398.6 MB, free: 8.766 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/0.5603, allocations: 4 kB / 398.7 MB, free: 8.762 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008465/0.5611, allocations: 187.7 kB / 398.8 MB, free: 8.578 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001328/0.5625, allocations: 463.1 kB / 399.3 MB, free: 8.113 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00011/0.5626, allocations: 35.97 kB / 399.3 MB, free: 8.078 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00694/0.5695, allocations: 6.14 MB / 405.5 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.987e-05/0.5696, allocations: 4.031 kB / 405.5 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005592/0.5752, allocations: 2.779 MB / 408.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001105/0.5763, allocations: 359.3 kB / 408.6 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005066/0.5769, allocations: 27.94 kB / 408.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/0.578, allocations: 67.91 kB / 408.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002923/0.5783, allocations: 76.89 kB / 408.8 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.95e-05/0.5784, allocations: 27.98 kB / 408.8 MB, free: 14.14 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002303/0.5807, allocations: 0.9582 MB / 409.7 MB, free: 13.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5807, allocations: 0 / 409.7 MB, free: 13.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002424/0.5832, allocations: 432 kB / 410.2 MB, free: 12.75 MB / 350.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 (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005544/0.5838, allocations: 179 kB / 410.3 MB, free: 12.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004089/0.5879, allocations: 2.003 MB / 412.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 9.989e-06/0.5879, allocations: 1.875 kB / 412.4 MB, free: 10.54 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002438/0.5904, allocations: 1.351 MB / 413.7 MB, free: 9.125 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003239/0.5936, allocations: 368.6 kB / 414.1 MB, free: 8.766 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01026/0.6039, allocations: 4.849 MB / 418.9 MB, free: 3.863 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002682/0.6066, allocations: 1.685 MB / 420.6 MB, free: 2.145 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001635/0.6083, allocations: 320 kB / 420.9 MB, free: 1.828 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005603/0.6089, allocations: 95.42 kB / 421 MB, free: 1.734 MB / 350.1 MB Notification: Performance of SimCode: time 1.783e-06/0.6089, allocations: 0 / 421 MB, free: 1.734 MB / 350.1 MB Notification: Performance of Templates: time 0.05714/0.666, allocations: 23.1 MB / 444.1 MB, free: 10.6 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe 2>&1)