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.001268/0.001269, allocations: 89.23 kB / 16.65 MB, free: 6.258 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.0022/0.0022, allocations: 179.1 kB / 17.56 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.01/2.01, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.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.0005454/0.0005456, allocations: 12 kB / 280.7 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1422, allocations: 47.59 MB / 328.3 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.01084/0.1531, allocations: 8.769 MB / 337.1 MB, free: 10.95 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008174/0.1613, allocations: 2.962 MB / 340.1 MB, free: 7.969 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002519/0.1639, allocations: 43.81 kB / 340.1 MB, free: 7.926 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003005/0.167, allocations: 0.5477 MB / 340.6 MB, free: 7.375 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004395/0.1714, allocations: 0.6956 MB / 341.3 MB, free: 6.676 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001569/0.173, allocations: 319.6 kB / 341.7 MB, free: 6.363 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005626/0.1787, allocations: 3.121 MB / 344.8 MB, free: 3.227 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003371/0.1821, allocations: 1.548 MB / 346.3 MB, free: 1.625 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002946/0.185, allocations: 0.9101 MB / 347.2 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003089/0.1881, allocations: 1.292 MB / 348.5 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009901/0.1892, allocations: 136 kB / 348.7 MB, free: 15.28 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001674/0.1908, allocations: 231.8 kB / 348.9 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001495/0.1924, allocations: 0.6852 MB / 349.6 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003213/0.1956, allocations: 1.202 MB / 350.8 MB, free: 13.15 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00564/0.2012, allocations: 3.819 MB / 354.6 MB, free: 9.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/0.2013, allocations: 3.938 kB / 354.6 MB, free: 9.316 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.168e-06/0.2013, allocations: 0 / 354.6 MB, free: 9.316 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000229/0.2015, allocations: 0 / 354.6 MB, free: 9.316 MB / 302.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.007662/0.2092, allocations: 2.425 MB / 357 MB, free: 6.828 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.753e-05/0.2093, allocations: 15.97 kB / 357 MB, free: 6.812 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001265/0.2106, allocations: 281.7 kB / 357.3 MB, free: 6.535 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002996/0.2136, allocations: 1.434 MB / 358.7 MB, free: 5.043 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001478/0.2137, allocations: 156.4 kB / 358.9 MB, free: 4.887 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000351/0.2141, allocations: 204 kB / 359.1 MB, free: 4.688 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004989/0.2191, allocations: 2.744 MB / 361.8 MB, free: 1.855 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.402e-05/0.2192, allocations: 7.938 kB / 361.8 MB, free: 1.848 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001931/0.2194, allocations: 80 kB / 361.9 MB, free: 1.77 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001204/0.2195, allocations: 91.94 kB / 362 MB, free: 1.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004235/0.2237, allocations: 2.346 MB / 364.4 MB, free: 15.33 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01468/0.2384, allocations: 8.473 MB / 372.8 MB, free: 6.617 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002254/0.2407, allocations: 1.788 MB / 374.6 MB, free: 4.719 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001876/0.2426, allocations: 1.061 MB / 375.7 MB, free: 3.656 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002782/0.2429, allocations: 126.1 kB / 375.8 MB, free: 3.516 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.804e-05/0.243, allocations: 43.56 kB / 375.8 MB, free: 3.461 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 3.146e-06/0.243, allocations: 0 / 375.8 MB, free: 3.461 MB / 318.1 MB Notification: Performance of matching and sorting (n=120): time 0.3012/0.5442, allocations: 6.391 MB / 382.2 MB, free: 40.12 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.639e-05/0.5443, allocations: 65.42 kB / 382.3 MB, free: 40.05 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003778/0.5481, allocations: 1.518 MB / 383.8 MB, free: 39.88 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003253/0.5484, allocations: 47.73 kB / 383.9 MB, free: 39.85 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001362/0.5498, allocations: 0.9868 MB / 384.9 MB, free: 39.41 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005935/0.5504, allocations: 409.4 kB / 385.3 MB, free: 39.16 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003015/0.5507, allocations: 123.4 kB / 385.4 MB, free: 39.14 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002032/0.5509, allocations: 360 kB / 385.7 MB, free: 38.84 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001636/0.5526, allocations: 0.7398 MB / 386.5 MB, free: 38.83 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001664/0.5543, allocations: 1.066 MB / 387.5 MB, free: 38.48 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003609/0.5579, allocations: 1.896 MB / 389.4 MB, free: 37.86 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.446e-05/0.5579, allocations: 2.719 kB / 389.4 MB, free: 37.86 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005118/0.5631, allocations: 2.37 MB / 391.8 MB, free: 37 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.175e-05/0.5631, allocations: 9.344 kB / 391.8 MB, free: 37 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.542e-05/0.5631, allocations: 9.922 kB / 391.8 MB, free: 37 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001082/0.5642, allocations: 408.5 kB / 392.2 MB, free: 36.88 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00138/0.5656, allocations: 334.7 kB / 392.5 MB, free: 36.86 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004755/0.5704, allocations: 4.649 MB / 397.2 MB, free: 33.4 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00179/0.5722, allocations: 94.23 kB / 397.3 MB, free: 33.38 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001712/0.5724, allocations: 55.23 kB / 397.3 MB, free: 33.37 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[3],idealCloser.control[2],idealCloser.control[1]) * 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 (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001587/0.574, allocations: 0.7011 MB / 398 MB, free: 33 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005351/0.5746, allocations: 170.8 kB / 398.2 MB, free: 32.91 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003663/0.5782, allocations: 2.155 MB / 400.4 MB, free: 32.09 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.411e-05/0.5783, allocations: 12.44 kB / 400.4 MB, free: 32.09 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/0.5783, allocations: 2.562 kB / 400.4 MB, free: 32.09 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/0.5783, allocations: 7.594 kB / 400.4 MB, free: 32.08 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00774/0.586, allocations: 4.604 MB / 405 MB, free: 29.97 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.158e-05/0.5861, allocations: 6.25 kB / 405 MB, free: 29.97 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008794/0.587, allocations: 222.2 kB / 405.2 MB, free: 29.76 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001079/0.5881, allocations: 470.2 kB / 405.7 MB, free: 29.29 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.208e-05/0.5882, allocations: 27.98 kB / 405.7 MB, free: 29.27 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004586/0.5928, allocations: 6.159 MB / 411.9 MB, free: 22.75 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.5928, allocations: 4.031 kB / 411.9 MB, free: 22.74 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004401/0.5972, allocations: 3.202 MB / 415.1 MB, free: 19.5 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/0.5983, allocations: 410.8 kB / 415.5 MB, free: 19.08 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002488/0.5986, allocations: 28 kB / 415.5 MB, free: 19.05 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008437/0.5994, allocations: 83.91 kB / 415.6 MB, free: 18.97 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003146/0.5997, allocations: 108.3 kB / 415.7 MB, free: 18.87 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.552e-05/0.5998, allocations: 39.98 kB / 415.7 MB, free: 18.83 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001597/0.6014, allocations: 1.044 MB / 416.8 MB, free: 17.79 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.6014, allocations: 0 / 416.8 MB, free: 17.79 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001847/0.6033, allocations: 467.9 kB / 417.2 MB, free: 17.33 MB / 318.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 (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.0004502/0.6038, allocations: 186.8 kB / 417.4 MB, free: 17.16 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003516/0.6073, allocations: 2.279 MB / 419.7 MB, free: 14.85 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/0.6073, allocations: 0 / 419.7 MB, free: 14.85 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002057/0.6094, allocations: 1.509 MB / 421.2 MB, free: 13.3 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002784/0.6122, allocations: 423.9 kB / 421.6 MB, free: 12.89 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008242/0.6205, allocations: 5.552 MB / 427.2 MB, free: 7.305 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001488/0.622, allocations: 1.815 MB / 429 MB, free: 5.461 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001707/0.6238, allocations: 396 kB / 429.4 MB, free: 5.07 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003403/0.6241, allocations: 115.4 kB / 429.5 MB, free: 4.957 MB / 318.1 MB Notification: Performance of SimCode: time 4.789e-06/0.6241, allocations: 0 / 429.5 MB, free: 4.957 MB / 318.1 MB Notification: Performance of Templates: time 0.04749/0.6716, allocations: 24.12 MB / 453.6 MB, free: 12.87 MB / 350.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)