Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.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_YD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009022/0.0009023, allocations: 91.45 kB / 16.65 MB, free: 6.535 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.001092/0.001092, allocations: 175.8 kB / 17.56 MB, free: 6.18 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.066/2.066, allocations: 205.4 MB / 223.7 MB, free: 13.06 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.0005237/0.0005241, allocations: 11.12 kB / 280.7 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1308, allocations: 47.58 MB / 328.3 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.01075/0.1416, allocations: 9.17 MB / 337.5 MB, free: 10.54 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006892/0.1486, allocations: 3.078 MB / 340.6 MB, free: 7.449 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001808/0.1504, allocations: 43.75 kB / 340.6 MB, free: 7.406 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002003/0.1524, allocations: 0.5827 MB / 341.2 MB, free: 6.82 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00349/0.1559, allocations: 0.7422 MB / 341.9 MB, free: 6.074 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001476/0.1574, allocations: 351.6 kB / 342.3 MB, free: 5.73 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005956/0.1634, allocations: 3.534 MB / 345.8 MB, free: 2.184 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003089/0.1665, allocations: 1.989 MB / 347.8 MB, free: 136 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002761/0.1693, allocations: 1.031 MB / 348.8 MB, free: 15.1 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003301/0.1727, allocations: 1.447 MB / 350.3 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006681/0.1734, allocations: 152 kB / 350.4 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001205/0.1746, allocations: 263.8 kB / 350.7 MB, free: 13.24 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000872/0.1755, allocations: 0.7552 MB / 351.4 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002368/0.1779, allocations: 1.358 MB / 352.8 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00498/0.1829, allocations: 4.399 MB / 357.2 MB, free: 6.695 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.408e-06/0.1829, allocations: 0 / 357.2 MB, free: 6.695 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.008e-06/0.1829, allocations: 0 / 357.2 MB, free: 6.695 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001912/0.1831, allocations: 0 / 357.2 MB, free: 6.695 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: 592 * Number of variables: 592 Notification: Performance of Generate backend data structure: time 0.007777/0.1909, allocations: 2.727 MB / 359.9 MB, free: 3.906 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.806e-05/0.191, allocations: 12.03 kB / 359.9 MB, free: 3.895 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001762/0.1928, allocations: 321.3 kB / 360.2 MB, free: 3.578 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003607/0.1964, allocations: 1.627 MB / 361.9 MB, free: 1.895 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001617/0.1966, allocations: 172.9 kB / 362 MB, free: 1.723 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005408/0.1971, allocations: 227.9 kB / 362.3 MB, free: 1.5 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00803/0.2052, allocations: 3.204 MB / 365.5 MB, free: 14.19 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.602e-05/0.2053, allocations: 7.906 kB / 365.5 MB, free: 14.18 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002358/0.2056, allocations: 92 kB / 365.6 MB, free: 14.09 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001377/0.2057, allocations: 112.4 kB / 365.7 MB, free: 13.98 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005969/0.2117, allocations: 2.765 MB / 368.4 MB, free: 11.2 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0245/0.2362, allocations: 9.93 MB / 378.4 MB, free: 1.004 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2951/0.5314, allocations: 2.109 MB / 380.5 MB, free: 49.95 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002949/0.5344, allocations: 1.203 MB / 381.7 MB, free: 49.94 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002969/0.5347, allocations: 125.1 kB / 381.8 MB, free: 49.84 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.155e-05/0.5348, allocations: 50.33 kB / 381.9 MB, free: 49.8 MB / 318.1 MB Notification: Performance of pre-optimization done (n=126): time 3.467e-06/0.5348, allocations: 0 / 381.9 MB, free: 49.8 MB / 318.1 MB Notification: Performance of matching and sorting (n=142): time 0.02285/0.5576, allocations: 8.112 MB / 390 MB, free: 47.17 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.286e-05/0.5578, allocations: 66.47 kB / 390 MB, free: 47.11 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003775/0.5616, allocations: 1.677 MB / 391.7 MB, free: 46.48 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00024/0.5618, allocations: 49.58 kB / 391.8 MB, free: 46.43 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009857/0.5628, allocations: 1.092 MB / 392.9 MB, free: 45.59 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005368/0.5634, allocations: 487.4 kB / 393.3 MB, free: 45.21 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000322/0.5637, allocations: 148.8 kB / 393.5 MB, free: 45.14 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.5639, allocations: 302.4 kB / 393.8 MB, free: 44.84 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002164/0.566, allocations: 0.9132 MB / 394.7 MB, free: 44.53 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002032/0.5681, allocations: 1.283 MB / 396 MB, free: 43.79 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003053/0.5711, allocations: 2.274 MB / 398.2 MB, free: 42.42 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/0.5712, allocations: 6.344 kB / 398.2 MB, free: 42.42 MB / 318.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.005927/0.5771, allocations: 3.063 MB / 401.3 MB, free: 40.81 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.425e-05/0.5772, allocations: 15.27 kB / 401.3 MB, free: 40.81 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-05/0.5772, allocations: 11.5 kB / 401.3 MB, free: 40.8 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001936/0.5792, allocations: 0.8435 MB / 402.2 MB, free: 40.3 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/0.5802, allocations: 311.5 kB / 402.5 MB, free: 39.99 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009009/0.5892, allocations: 9.088 MB / 411.6 MB, free: 30.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001919/0.5912, allocations: 103.9 kB / 411.7 MB, free: 30.42 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000145/0.5914, allocations: 56 kB / 411.7 MB, free: 30.37 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepYD[3].y,booleanStepYD[2].y,booleanStepYD[1].y,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 (155): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 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): 3 systems {(2,12,100.0%), (9,19,33.3%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001744/0.5931, allocations: 0.8134 MB / 412.5 MB, free: 29.54 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005239/0.5937, allocations: 181.8 kB / 412.7 MB, free: 29.36 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004333/0.598, allocations: 2.866 MB / 415.6 MB, free: 26.47 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.596e-05/0.598, allocations: 16 kB / 415.6 MB, free: 26.45 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.23e-05/0.5981, allocations: 11.94 kB / 415.6 MB, free: 26.44 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.515e-05/0.5981, allocations: 7.969 kB / 415.6 MB, free: 26.43 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008928/0.607, allocations: 5.699 MB / 421.3 MB, free: 20.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/0.6071, allocations: 4 kB / 421.3 MB, free: 20.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007882/0.6079, allocations: 199.7 kB / 421.5 MB, free: 20.46 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002098/0.61, allocations: 0.8902 MB / 422.4 MB, free: 19.56 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001107/0.6101, allocations: 35.98 kB / 422.4 MB, free: 19.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01013/0.6202, allocations: 10.59 MB / 433 MB, free: 8.41 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/0.6203, allocations: 8.031 kB / 433 MB, free: 8.402 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006152/0.6264, allocations: 4.187 MB / 437.2 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001318/0.6278, allocations: 458.8 kB / 437.7 MB, free: 3.684 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002769/0.6281, allocations: 35.98 kB / 437.7 MB, free: 3.648 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009144/0.629, allocations: 91.91 kB / 437.8 MB, free: 3.559 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000411/0.6294, allocations: 137 kB / 437.9 MB, free: 3.426 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.659e-05/0.6295, allocations: 43.98 kB / 438 MB, free: 3.383 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.00168/0.6312, allocations: 1.157 MB / 439.1 MB, free: 2.23 MB / 318.1 MB Notification: Performance of sort global known variables: time 7.81e-07/0.6312, allocations: 0 / 439.1 MB, free: 2.23 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002333/0.6336, allocations: 0.5625 MB / 439.7 MB, free: 1.668 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: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,1,100.0%), (9,19,33.3%), (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.0004112/0.634, allocations: 188.6 kB / 439.9 MB, free: 1.477 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004812/0.6388, allocations: 3.013 MB / 442.9 MB, free: 14.38 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/0.6388, allocations: 5.203 kB / 442.9 MB, free: 14.38 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003484/0.6423, allocations: 2.043 MB / 444.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003703/0.6461, allocations: 477.1 kB / 445.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01269/0.6588, allocations: 6.354 MB / 451.8 MB, free: 5.391 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002172/0.661, allocations: 2.02 MB / 453.8 MB, free: 3.336 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.002002/0.663, allocations: 407.3 kB / 454.2 MB, free: 2.934 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003955/0.6634, allocations: 107.4 kB / 454.3 MB, free: 2.828 MB / 334.1 MB Notification: Performance of SimCode: time 1.943e-06/0.6634, allocations: 4 kB / 454.3 MB, free: 2.824 MB / 334.1 MB Notification: Performance of Templates: time 0.066/0.7294, allocations: 30.9 MB / 485.2 MB, free: 3.891 MB / 366.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe 2>&1)