Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.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_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 88.53 kB / 16.31 MB, free: 6.449 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.001157/0.001158, allocations: 183.1 kB / 17.21 MB, free: 6.316 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.865/1.865, allocations: 205.4 MB / 223.4 MB, free: 5.301 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.0008281/0.0008281, allocations: 12 kB / 280.1 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3619, allocations: 47.59 MB / 327.7 MB, free: 1.445 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.01197/0.3739, allocations: 8.254 MB / 336 MB, free: 10.99 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.009998/0.384, allocations: 2.847 MB / 338.8 MB, free: 8.352 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002745/0.3868, allocations: 35.81 kB / 338.9 MB, free: 8.316 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002633/0.3895, allocations: 0.5126 MB / 339.4 MB, free: 7.801 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003075/0.3926, allocations: 0.6604 MB / 340.1 MB, free: 7.137 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.3937, allocations: 223.7 kB / 340.3 MB, free: 6.918 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004157/0.3979, allocations: 2.778 MB / 343 MB, free: 4.125 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002985/0.4009, allocations: 1.342 MB / 344.4 MB, free: 2.75 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001983/0.4029, allocations: 0.9026 MB / 345.3 MB, free: 1.844 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00256/0.4054, allocations: 1.249 MB / 346.5 MB, free: 0.5898 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006786/0.4061, allocations: 136 kB / 346.7 MB, free: 468 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001114/0.4073, allocations: 199.9 kB / 346.9 MB, free: 268 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001229/0.4085, allocations: 0.6853 MB / 347.6 MB, free: 15.57 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001263/0.4098, allocations: 496.5 kB / 348 MB, free: 15.08 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004115/0.4139, allocations: 3.268 MB / 351.3 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.4139, allocations: 0 / 351.3 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.414, allocations: 0 / 351.3 MB, free: 11.8 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001356/0.4141, allocations: 0 / 351.3 MB, free: 11.8 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.005775/0.4199, allocations: 2.452 MB / 353.8 MB, free: 9.289 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.747e-05/0.42, allocations: 8.031 kB / 353.8 MB, free: 9.281 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000807/0.4208, allocations: 288.8 kB / 354.1 MB, free: 8.996 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002354/0.4231, allocations: 1.391 MB / 355.4 MB, free: 7.547 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001382/0.4233, allocations: 152 kB / 355.6 MB, free: 7.395 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000313/0.4236, allocations: 203.8 kB / 355.8 MB, free: 7.195 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004715/0.4283, allocations: 2.728 MB / 358.5 MB, free: 4.379 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.006e-05/0.4284, allocations: 0 / 358.5 MB, free: 4.379 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001842/0.4286, allocations: 91.92 kB / 358.6 MB, free: 4.289 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001348/0.4287, allocations: 91.94 kB / 358.7 MB, free: 4.199 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004146/0.4329, allocations: 2.334 MB / 361 MB, free: 1.863 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01387/0.4468, allocations: 8.458 MB / 369.5 MB, free: 9.164 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002503/0.4493, allocations: 1.779 MB / 371.3 MB, free: 7.27 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002125/0.4515, allocations: 1.07 MB / 372.3 MB, free: 6.199 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003299/0.4518, allocations: 122.1 kB / 372.5 MB, free: 6.062 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.522e-05/0.4519, allocations: 39.56 kB / 372.5 MB, free: 6.012 MB / 302.1 MB Notification: Performance of pre-optimization done (n=104): time 4.819e-06/0.452, allocations: 4 kB / 372.5 MB, free: 6.008 MB / 302.1 MB Notification: Performance of matching and sorting (n=120): time 0.01434/0.4663, allocations: 6.396 MB / 378.9 MB, free: 15.48 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.793e-05/0.4664, allocations: 68.34 kB / 379 MB, free: 15.4 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002606/0.469, allocations: 1.504 MB / 380.5 MB, free: 13.88 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001058/0.4691, allocations: 45.7 kB / 380.5 MB, free: 13.83 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007933/0.4699, allocations: 0.9834 MB / 381.5 MB, free: 12.84 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003746/0.4703, allocations: 418 kB / 381.9 MB, free: 12.42 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.267e-05/0.4704, allocations: 24 kB / 381.9 MB, free: 12.4 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.4706, allocations: 365.9 kB / 382.3 MB, free: 12.04 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001216/0.4718, allocations: 0.73 MB / 383 MB, free: 11.3 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001422/0.4732, allocations: 1.063 MB / 384.1 MB, free: 10.11 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001442/0.4747, allocations: 0.8847 MB / 385 MB, free: 9.227 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.206e-06/0.4747, allocations: 0 / 385 MB, free: 9.227 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004238/0.479, allocations: 2.357 MB / 387.3 MB, free: 6.848 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/0.479, allocations: 11.94 kB / 387.3 MB, free: 6.836 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.22e-05/0.479, allocations: 12 kB / 387.3 MB, free: 6.824 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009877/0.48, allocations: 415.1 kB / 387.7 MB, free: 6.406 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/0.4813, allocations: 331.5 kB / 388.1 MB, free: 6.082 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005484/0.4868, allocations: 4.641 MB / 392.7 MB, free: 1.176 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001675/0.4885, allocations: 87.91 kB / 392.8 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002235/0.4887, allocations: 55.94 kB / 392.9 MB, free: 1.035 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00198/0.4907, allocations: 0.712 MB / 393.6 MB, free: 320 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006967/0.4914, allocations: 162 kB / 393.7 MB, free: 156 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004081/0.4955, allocations: 2.145 MB / 395.9 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/0.4956, allocations: 19.98 kB / 395.9 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.522e-05/0.4956, allocations: 0 / 395.9 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.642e-05/0.4956, allocations: 7.969 kB / 395.9 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00851/0.5041, allocations: 4.597 MB / 400.5 MB, free: 9.254 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/0.5042, allocations: 4 kB / 400.5 MB, free: 9.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009712/0.5051, allocations: 227.7 kB / 400.7 MB, free: 9.027 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00123/0.5064, allocations: 467.2 kB / 401.2 MB, free: 8.559 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001096/0.5065, allocations: 31.98 kB / 401.2 MB, free: 8.527 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006362/0.5129, allocations: 6.136 MB / 407.3 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/0.5129, allocations: 7.984 kB / 407.3 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005872/0.5188, allocations: 3.194 MB / 410.5 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001433/0.5203, allocations: 407 kB / 410.9 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006409/0.5209, allocations: 27.95 kB / 411 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/0.5221, allocations: 83.91 kB / 411.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002953/0.5224, allocations: 108.8 kB / 411.2 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.97e-05/0.5225, allocations: 36.03 kB / 411.2 MB, free: 14.05 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002323/0.5249, allocations: 1.032 MB / 412.2 MB, free: 13.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5249, allocations: 0 / 412.2 MB, free: 13.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002171/0.5271, allocations: 464.1 kB / 412.7 MB, free: 12.57 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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],quadraticLoadTorque.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * 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.0003893/0.5275, allocations: 155 kB / 412.8 MB, free: 12.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003997/0.5315, allocations: 2.278 MB / 415.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.5315, allocations: 0 / 415.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002531/0.534, allocations: 1.492 MB / 416.6 MB, free: 8.508 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002647/0.5367, allocations: 437.3 kB / 417 MB, free: 8.082 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00878/0.5455, allocations: 5.305 MB / 422.3 MB, free: 2.719 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001924/0.5474, allocations: 1.815 MB / 424.1 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001401/0.5488, allocations: 393.5 kB / 424.5 MB, free: 492 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004399/0.5493, allocations: 115.4 kB / 424.6 MB, free: 380 kB / 350.1 MB Notification: Performance of SimCode: time 1.533e-06/0.5493, allocations: 0 / 424.6 MB, free: 380 kB / 350.1 MB Notification: Performance of Templates: time 0.04839/0.5977, allocations: 23.48 MB / 448.1 MB, free: 8.852 MB / 382.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe 2>&1)