Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.01124/0.01124, allocations: 100.5 kB / 15.73 MB, free: 6.031 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.001952/0.001952, allocations: 192.5 kB / 16.67 MB, free: 5.969 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.997/1.997, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.001394/0.001395, allocations: 54.23 kB / 326.6 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1428, allocations: 46.63 MB / 373.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.01352/0.1564, allocations: 9.33 MB / 382.5 MB, free: 7.938 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00848/0.1649, allocations: 3.031 MB / 385.5 MB, free: 4.895 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002827/0.1678, allocations: 39.81 kB / 385.6 MB, free: 4.855 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002378/0.1703, allocations: 0.6366 MB / 386.2 MB, free: 4.215 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004389/0.1747, allocations: 0.7649 MB / 387 MB, free: 3.445 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001186/0.1759, allocations: 359.5 kB / 387.3 MB, free: 3.094 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004552/0.1805, allocations: 2.681 MB / 390 MB, free: 412 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002434/0.1829, allocations: 1.9 MB / 391.9 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002164/0.1851, allocations: 1.199 MB / 393.1 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003023/0.1881, allocations: 1.487 MB / 394.6 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006514/0.1888, allocations: 308 kB / 394.9 MB, free: 11.44 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001013/0.1898, allocations: 403.8 kB / 395.3 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009353/0.1908, allocations: 0.8882 MB / 396.2 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001869/0.1927, allocations: 1.404 MB / 397.6 MB, free: 8.746 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005082/0.1978, allocations: 4.089 MB / 401.7 MB, free: 4.645 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1978, allocations: 0 / 401.7 MB, free: 4.645 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1978, allocations: 4 kB / 401.7 MB, free: 4.641 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001055/0.1979, allocations: 0 / 401.7 MB, free: 4.641 MB / 334.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.008133/0.206, allocations: 2.841 MB / 404.5 MB, free: 1.734 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.517e-05/0.2061, allocations: 15.89 kB / 404.5 MB, free: 1.719 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009295/0.2071, allocations: 281.8 kB / 404.8 MB, free: 1.441 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002821/0.2099, allocations: 1.445 MB / 406.3 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001327/0.2101, allocations: 152.4 kB / 406.4 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003086/0.2104, allocations: 215.9 kB / 406.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00516/0.2155, allocations: 2.728 MB / 409.3 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.842e-05/0.2156, allocations: 15.83 kB / 409.4 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001968/0.2158, allocations: 88 kB / 409.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001005/0.2159, allocations: 91.94 kB / 409.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004051/0.22, allocations: 2.322 MB / 411.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01338/0.2334, allocations: 8.305 MB / 420.2 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002205/0.2356, allocations: 1.772 MB / 421.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001918/0.2376, allocations: 1.084 MB / 423 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002484/0.2378, allocations: 114.1 kB / 423.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.323e-05/0.2379, allocations: 51.5 kB / 423.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=104): time 3.446e-06/0.2379, allocations: 0 / 423.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=120): time 0.01402/0.2519, allocations: 6.308 MB / 429.5 MB, free: 8.078 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.625e-05/0.252, allocations: 64.41 kB / 429.6 MB, free: 8.004 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002632/0.2547, allocations: 1.512 MB / 431.1 MB, free: 6.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001155/0.2548, allocations: 45.7 kB / 431.1 MB, free: 6.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007795/0.2556, allocations: 0.9912 MB / 432.1 MB, free: 5.426 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003914/0.256, allocations: 418 kB / 432.5 MB, free: 5.012 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004124/0.2564, allocations: 251.4 kB / 432.8 MB, free: 4.762 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.2566, allocations: 357.9 kB / 433.1 MB, free: 4.406 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001169/0.2578, allocations: 0.73 MB / 433.8 MB, free: 3.676 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001334/0.2591, allocations: 1.052 MB / 434.9 MB, free: 2.496 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002595/0.2617, allocations: 1.879 MB / 436.8 MB, free: 500 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/0.2617, allocations: 4 kB / 436.8 MB, free: 496 kB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004048/0.2658, allocations: 2.357 MB / 439.1 MB, free: 14.11 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.891e-05/0.2658, allocations: 11.94 kB / 439.1 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.909e-05/0.2659, allocations: 11.98 kB / 439.2 MB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009933/0.2669, allocations: 411.2 kB / 439.6 MB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/0.268, allocations: 323.5 kB / 439.9 MB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005146/0.2732, allocations: 5.067 MB / 444.9 MB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/0.2747, allocations: 91.83 kB / 445 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/0.2748, allocations: 52 kB / 445.1 MB, free: 7.863 MB / 382.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.001422/0.2762, allocations: 0.7082 MB / 445.8 MB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000336/0.2766, allocations: 158 kB / 445.9 MB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003789/0.2804, allocations: 2.137 MB / 448.1 MB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.2804, allocations: 12 kB / 448.1 MB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.984e-06/0.2804, allocations: 4 kB / 448.1 MB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.381e-05/0.2804, allocations: 7.969 kB / 448.1 MB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008036/0.2885, allocations: 4.569 MB / 452.7 MB, free: 136 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/0.2885, allocations: 8.281 kB / 452.7 MB, free: 128 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.3401/0.6287, allocations: 215.7 kB / 452.9 MB, free: 70.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001892/0.6306, allocations: 468.5 kB / 453.3 MB, free: 70.46 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002972/0.6309, allocations: 32.27 kB / 453.4 MB, free: 70.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007765/0.6387, allocations: 6.678 MB / 460.1 MB, free: 65.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-06/0.6387, allocations: 3.25 kB / 460.1 MB, free: 65.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00707/0.6458, allocations: 3.181 MB / 463.2 MB, free: 64.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001543/0.6474, allocations: 398.7 kB / 463.6 MB, free: 64.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002309/0.6477, allocations: 31.66 kB / 463.7 MB, free: 64.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008923/0.6486, allocations: 78.45 kB / 463.7 MB, free: 64.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003889/0.649, allocations: 109.1 kB / 463.8 MB, free: 64.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.717e-05/0.649, allocations: 34.56 kB / 463.9 MB, free: 64.51 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001916/0.651, allocations: 1.046 MB / 464.9 MB, free: 64.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.651, allocations: 0 / 464.9 MB, free: 64.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002471/0.6535, allocations: 460.7 kB / 465.4 MB, free: 64.07 MB / 382.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.0004703/0.6539, allocations: 187.5 kB / 465.6 MB, free: 63.95 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004511/0.6585, allocations: 2.274 MB / 467.8 MB, free: 62.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.6585, allocations: 4.438 kB / 467.8 MB, free: 62.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002378/0.6609, allocations: 1.487 MB / 469.3 MB, free: 62.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002436/0.6633, allocations: 440.4 kB / 469.8 MB, free: 62 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007801/0.6711, allocations: 4.476 MB / 474.2 MB, free: 59.85 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001427/0.6726, allocations: 1.81 MB / 476 MB, free: 58.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001311/0.6739, allocations: 406.8 kB / 476.4 MB, free: 58.87 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000326/0.6743, allocations: 109 kB / 476.5 MB, free: 58.86 MB / 382.1 MB Notification: Performance of SimCode: time 1.453e-06/0.6743, allocations: 3.719 kB / 476.5 MB, free: 58.86 MB / 382.1 MB Notification: Performance of Templates: time 0.04189/0.7162, allocations: 26.43 MB / 0.4912 GB, free: 34.08 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe 2>&1)