Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.01482/0.01482, allocations: 106 kB / 15.74 MB, free: 6.02 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.002318/0.002317, allocations: 193.2 kB / 16.67 MB, free: 5.934 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.946/1.946, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.001347/0.001347, allocations: 53.33 kB / 326.6 MB, free: 14.31 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1597, allocations: 46.62 MB / 373.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.01322/0.173, allocations: 9.342 MB / 382.5 MB, free: 7.922 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009304/0.1824, allocations: 3.019 MB / 385.5 MB, free: 4.891 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003407/0.1859, allocations: 39.88 kB / 385.6 MB, free: 4.852 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003426/0.1895, allocations: 0.6366 MB / 386.2 MB, free: 4.211 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004639/0.1941, allocations: 0.7843 MB / 387 MB, free: 3.422 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001672/0.1958, allocations: 355.5 kB / 387.3 MB, free: 3.074 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006041/0.2019, allocations: 2.685 MB / 390 MB, free: 388 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003242/0.2052, allocations: 1.889 MB / 391.9 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003191/0.2084, allocations: 1.187 MB / 393.1 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004361/0.2128, allocations: 1.491 MB / 394.6 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001018/0.2139, allocations: 308 kB / 394.9 MB, free: 11.44 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00148/0.2154, allocations: 399.8 kB / 395.3 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001082/0.2165, allocations: 0.896 MB / 396.2 MB, free: 10.15 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002621/0.2191, allocations: 1.408 MB / 397.6 MB, free: 8.734 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006444/0.2256, allocations: 4.091 MB / 401.7 MB, free: 4.629 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.036e-05/0.2256, allocations: 0 / 401.7 MB, free: 4.629 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.218e-06/0.2257, allocations: 0 / 401.7 MB, free: 4.629 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001751/0.2258, allocations: 0 / 401.7 MB, free: 4.629 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.009101/0.2349, allocations: 2.917 MB / 404.6 MB, free: 1.645 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.032e-05/0.2351, allocations: 15.89 kB / 404.6 MB, free: 1.629 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001102/0.2362, allocations: 299.2 kB / 404.9 MB, free: 1.336 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003102/0.2393, allocations: 1.454 MB / 406.4 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001535/0.2395, allocations: 156.4 kB / 406.5 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003466/0.2398, allocations: 212.1 kB / 406.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005592/0.2454, allocations: 2.724 MB / 409.4 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.206e-05/0.2455, allocations: 12 kB / 409.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001943/0.2457, allocations: 76 kB / 409.5 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001196/0.2458, allocations: 91.94 kB / 409.6 MB, free: 12.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00463/0.2505, allocations: 2.33 MB / 412 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01704/0.2675, allocations: 8.335 MB / 420.3 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002429/0.27, allocations: 1.768 MB / 422.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002149/0.2722, allocations: 1.081 MB / 423.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003256/0.2726, allocations: 122.9 kB / 423.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.834e-05/0.2726, allocations: 43.56 kB / 423.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of pre-optimization done (n=104): time 4.879e-06/0.2726, allocations: 4 kB / 423.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=120): time 0.01714/0.2898, allocations: 6.339 MB / 429.6 MB, free: 7.926 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.065e-05/0.2899, allocations: 76.34 kB / 429.7 MB, free: 7.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002979/0.2929, allocations: 1.516 MB / 431.2 MB, free: 6.312 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001318/0.2931, allocations: 45.7 kB / 431.3 MB, free: 6.262 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008667/0.2939, allocations: 1.009 MB / 432.3 MB, free: 5.242 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004263/0.2944, allocations: 436.3 kB / 432.7 MB, free: 4.812 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005045/0.2949, allocations: 255.5 kB / 433 MB, free: 4.559 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002473/0.2951, allocations: 353.9 kB / 433.3 MB, free: 4.207 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001434/0.2966, allocations: 0.7378 MB / 434 MB, free: 3.469 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001716/0.2983, allocations: 1.052 MB / 435.1 MB, free: 2.289 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002841/0.3012, allocations: 1.883 MB / 437 MB, free: 284 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.3012, allocations: 4 kB / 437 MB, free: 280 kB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005004/0.3062, allocations: 2.354 MB / 439.3 MB, free: 13.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.753e-05/0.3063, allocations: 8 kB / 439.3 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.318e-05/0.3063, allocations: 8 kB / 439.4 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001174/0.3075, allocations: 419.4 kB / 439.8 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/0.3088, allocations: 323.5 kB / 440.1 MB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005906/0.3147, allocations: 5.06 MB / 445.1 MB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001954/0.3167, allocations: 103.8 kB / 445.2 MB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00019/0.3169, allocations: 48 kB / 445.3 MB, free: 7.656 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.001898/0.3188, allocations: 0.712 MB / 446 MB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006488/0.3194, allocations: 166.9 kB / 446.2 MB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004229/0.3237, allocations: 2.141 MB / 448.3 MB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.62e-05/0.3237, allocations: 12 kB / 448.3 MB, free: 4.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.3237, allocations: 4 kB / 448.3 MB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.612e-05/0.3237, allocations: 7.969 kB / 448.3 MB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4134/0.7371, allocations: 4.561 MB / 452.9 MB, free: 68.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.418e-05/0.7372, allocations: 3.469 kB / 452.9 MB, free: 68.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001809/0.7391, allocations: 226.2 kB / 453.1 MB, free: 68.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001968/0.741, allocations: 468.2 kB / 453.6 MB, free: 68.96 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003002/0.7414, allocations: 30.91 kB / 453.6 MB, free: 68.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00917/0.7505, allocations: 6.673 MB / 460.3 MB, free: 64.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.485e-05/0.7506, allocations: 9.688 kB / 460.3 MB, free: 64.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009045/0.7597, allocations: 3.196 MB / 463.5 MB, free: 63.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001753/0.7615, allocations: 407.6 kB / 463.9 MB, free: 63.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000885/0.7624, allocations: 29.34 kB / 463.9 MB, free: 63.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001733/0.7642, allocations: 82.28 kB / 464 MB, free: 63.46 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004696/0.7647, allocations: 107.5 kB / 464.1 MB, free: 63.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001038/0.7648, allocations: 30.22 kB / 464.1 MB, free: 63.44 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002314/0.7671, allocations: 1.046 MB / 465.2 MB, free: 63.04 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.61e-07/0.7671, allocations: 0 / 465.2 MB, free: 63.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002991/0.7701, allocations: 462.4 kB / 465.6 MB, free: 63 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.0005186/0.7707, allocations: 186.2 kB / 465.8 MB, free: 62.88 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005152/0.7758, allocations: 2.273 MB / 468.1 MB, free: 61.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.241e-05/0.7759, allocations: 2.781 kB / 468.1 MB, free: 61.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003031/0.7789, allocations: 1.491 MB / 469.6 MB, free: 61.06 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004219/0.7832, allocations: 437 kB / 470 MB, free: 60.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/0.794, allocations: 4.545 MB / 474.5 MB, free: 58.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001818/0.7958, allocations: 1.816 MB / 476.4 MB, free: 57.79 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001517/0.7974, allocations: 402.2 kB / 476.7 MB, free: 57.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003519/0.7977, allocations: 108.9 kB / 476.9 MB, free: 57.71 MB / 382.1 MB Notification: Performance of SimCode: time 1.213e-06/0.7977, allocations: 0 / 476.9 MB, free: 57.71 MB / 382.1 MB Notification: Performance of Templates: time 0.05361/0.8513, allocations: 25.98 MB / 0.4911 GB, free: 33.84 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe 2>&1)