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.0107/0.0107, allocations: 103 kB / 15.73 MB, free: 6.051 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.002228/0.002228, allocations: 197.6 kB / 16.68 MB, free: 5.98 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.95/1.95, allocations: 205.1 MB / 222.6 MB, free: 4.504 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.001483/0.001483, allocations: 54.14 kB / 326.6 MB, free: 14.39 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1425, allocations: 46.62 MB / 373.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.01345/0.1561, allocations: 9.342 MB / 382.5 MB, free: 7.93 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008245/0.1644, allocations: 3.023 MB / 385.5 MB, free: 4.895 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001614/0.166, allocations: 43.81 kB / 385.6 MB, free: 4.852 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001972/0.1681, allocations: 0.6716 MB / 386.3 MB, free: 4.176 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002424/0.1705, allocations: 0.8117 MB / 387.1 MB, free: 3.359 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008716/0.1714, allocations: 355.5 kB / 387.4 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003975/0.1754, allocations: 2.689 MB / 390.1 MB, free: 320 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002636/0.1781, allocations: 1.896 MB / 392 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002281/0.1804, allocations: 1.195 MB / 393.2 MB, free: 13.15 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002421/0.1828, allocations: 1.495 MB / 394.7 MB, free: 11.65 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004856/0.1833, allocations: 308 kB / 395 MB, free: 11.35 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008367/0.1841, allocations: 399.8 kB / 395.4 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009511/0.1851, allocations: 0.8921 MB / 396.3 MB, free: 10.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002439/0.1876, allocations: 1.404 MB / 397.7 MB, free: 8.656 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005943/0.1935, allocations: 4.085 MB / 401.8 MB, free: 4.559 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.1936, allocations: 0 / 401.8 MB, free: 4.559 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1936, allocations: 0 / 401.8 MB, free: 4.559 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.29e-05/0.1937, allocations: 0 / 401.8 MB, free: 4.559 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.006884/0.2006, allocations: 2.845 MB / 404.6 MB, free: 1.648 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/0.2006, allocations: 15.89 kB / 404.6 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007874/0.2014, allocations: 281.8 kB / 404.9 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002563/0.204, allocations: 1.449 MB / 406.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001654/0.2042, allocations: 152.4 kB / 406.5 MB, free: 15.69 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003548/0.2045, allocations: 204 kB / 406.7 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004975/0.2095, allocations: 2.736 MB / 409.4 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.231e-05/0.2096, allocations: 7.906 kB / 409.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001944/0.2098, allocations: 87.98 kB / 409.5 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001039/0.2099, allocations: 99.92 kB / 409.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003931/0.2139, allocations: 2.319 MB / 411.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0133/0.2272, allocations: 8.309 MB / 420.3 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002248/0.2295, allocations: 1.764 MB / 422 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002016/0.2315, allocations: 1.081 MB / 423.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002596/0.2318, allocations: 122.1 kB / 423.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.405e-05/0.2318, allocations: 51.56 kB / 423.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of pre-optimization done (n=104): time 3.406e-06/0.2318, allocations: 0 / 423.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=120): time 0.01567/0.2475, allocations: 6.3 MB / 429.6 MB, free: 8.004 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.446e-05/0.2477, allocations: 68.41 kB / 429.6 MB, free: 7.926 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00391/0.2516, allocations: 1.516 MB / 431.1 MB, free: 6.398 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002703/0.2519, allocations: 45.7 kB / 431.2 MB, free: 6.348 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009864/0.2529, allocations: 0.9873 MB / 432.2 MB, free: 5.348 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006061/0.2535, allocations: 410 kB / 432.6 MB, free: 4.941 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005235/0.254, allocations: 255.5 kB / 432.8 MB, free: 4.688 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.2542, allocations: 357.9 kB / 433.2 MB, free: 4.332 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001355/0.2556, allocations: 0.7378 MB / 433.9 MB, free: 3.594 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001563/0.2572, allocations: 1.055 MB / 435 MB, free: 2.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003145/0.2603, allocations: 1.875 MB / 436.8 MB, free: 416 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.084e-05/0.2604, allocations: 0 / 436.8 MB, free: 416 kB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005315/0.2657, allocations: 2.357 MB / 439.2 MB, free: 14.03 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.582e-05/0.2657, allocations: 8 kB / 439.2 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.427e-05/0.2658, allocations: 8 kB / 439.2 MB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001113/0.2669, allocations: 407.5 kB / 439.6 MB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001323/0.2682, allocations: 331.5 kB / 439.9 MB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005757/0.274, allocations: 5.06 MB / 445 MB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/0.2754, allocations: 87.84 kB / 445.1 MB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002018/0.2756, allocations: 60.05 kB / 445.1 MB, free: 7.793 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.001674/0.2773, allocations: 0.7042 MB / 445.9 MB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005241/0.2779, allocations: 158 kB / 446 MB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004178/0.2821, allocations: 2.141 MB / 448.1 MB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.388e-05/0.2821, allocations: 16 kB / 448.2 MB, free: 4.738 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.541e-05/0.2821, allocations: 4 kB / 448.2 MB, free: 4.734 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.385e-05/0.2821, allocations: 3.984 kB / 448.2 MB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0103/0.2924, allocations: 4.569 MB / 452.7 MB, free: 64 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.209e-05/0.2925, allocations: 3.984 kB / 452.7 MB, free: 60 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.3404/0.6329, allocations: 218.4 kB / 453 MB, free: 69.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001781/0.6347, allocations: 468.6 kB / 453.4 MB, free: 69.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002483/0.635, allocations: 33.22 kB / 453.4 MB, free: 69.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00813/0.6431, allocations: 6.686 MB / 460.1 MB, free: 65.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.564e-06/0.6432, allocations: 2.906 kB / 460.1 MB, free: 65.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007258/0.6505, allocations: 3.177 MB / 463.3 MB, free: 64.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001325/0.6518, allocations: 402 kB / 463.7 MB, free: 64.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002275/0.6521, allocations: 28.41 kB / 463.7 MB, free: 64.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008883/0.653, allocations: 80.27 kB / 463.8 MB, free: 64.4 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004445/0.6534, allocations: 108.5 kB / 463.9 MB, free: 64.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.449e-05/0.6535, allocations: 31.61 kB / 463.9 MB, free: 64.38 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002028/0.6556, allocations: 1.045 MB / 465 MB, free: 63.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6556, allocations: 0 / 465 MB, free: 63.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002693/0.6583, allocations: 469.4 kB / 465.4 MB, free: 63.93 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.0005826/0.6589, allocations: 186.7 kB / 465.6 MB, free: 63.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004777/0.6637, allocations: 2.271 MB / 467.9 MB, free: 62.78 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.6637, allocations: 0 / 467.9 MB, free: 62.78 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002374/0.6661, allocations: 1.492 MB / 469.4 MB, free: 62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002209/0.6683, allocations: 447.8 kB / 469.8 MB, free: 61.87 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007865/0.6762, allocations: 4.47 MB / 474.3 MB, free: 59.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00164/0.6778, allocations: 1.819 MB / 476.1 MB, free: 58.81 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001317/0.6792, allocations: 393 kB / 476.5 MB, free: 58.76 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003543/0.6795, allocations: 112.4 kB / 476.6 MB, free: 58.75 MB / 382.1 MB Notification: Performance of SimCode: time 1.924e-06/0.6795, allocations: 0 / 476.6 MB, free: 58.75 MB / 382.1 MB Notification: Performance of Templates: time 0.04485/0.7244, allocations: 25.98 MB / 0.4908 GB, free: 34.34 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)