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.007659/0.007659, allocations: 103.7 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.001364/0.001364, allocations: 195 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 2.004/2.004, allocations: 205.1 MB / 222.6 MB, free: 4.398 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.00135/0.00135, allocations: 54.22 kB / 326.6 MB, free: 14.45 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1561, allocations: 46.63 MB / 373.2 MB, free: 1.293 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.0145/0.1708, allocations: 9.338 MB / 382.5 MB, free: 7.906 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00854/0.1794, allocations: 3.027 MB / 385.5 MB, free: 4.867 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003058/0.1825, allocations: 39.81 kB / 385.6 MB, free: 4.828 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002973/0.1856, allocations: 0.6366 MB / 386.2 MB, free: 4.188 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004696/0.1903, allocations: 0.7727 MB / 387 MB, free: 3.41 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001443/0.1918, allocations: 359.4 kB / 387.3 MB, free: 3.059 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006688/0.1985, allocations: 2.681 MB / 390 MB, free: 376 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003858/0.2024, allocations: 1.893 MB / 391.9 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003557/0.2061, allocations: 1.191 MB / 393.1 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00446/0.2106, allocations: 1.487 MB / 394.6 MB, free: 11.72 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001193/0.2118, allocations: 308 kB / 394.9 MB, free: 11.42 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001618/0.2135, allocations: 399.8 kB / 395.3 MB, free: 11.03 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001048/0.2145, allocations: 0.8921 MB / 396.2 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00298/0.2175, allocations: 1.404 MB / 397.6 MB, free: 8.727 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00595/0.2235, allocations: 4.089 MB / 401.7 MB, free: 4.625 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.498e-06/0.2236, allocations: 0 / 401.7 MB, free: 4.625 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.935e-06/0.2236, allocations: 4 kB / 401.7 MB, free: 4.621 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001572/0.2238, allocations: 0 / 401.7 MB, free: 4.621 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.008841/0.2326, allocations: 2.841 MB / 404.5 MB, free: 1.715 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.807e-05/0.2327, allocations: 11.89 kB / 404.5 MB, free: 1.703 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009875/0.2337, allocations: 289.8 kB / 404.8 MB, free: 1.418 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00335/0.2371, allocations: 1.442 MB / 406.3 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001396/0.2372, allocations: 164.3 kB / 406.4 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003358/0.2376, allocations: 204 kB / 406.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006152/0.2437, allocations: 2.732 MB / 409.3 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.038e-05/0.2439, allocations: 11.84 kB / 409.4 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002115/0.2441, allocations: 83.98 kB / 409.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001316/0.2442, allocations: 95.92 kB / 409.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004207/0.2484, allocations: 2.319 MB / 411.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01731/0.2658, allocations: 8.317 MB / 420.2 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00299/0.2688, allocations: 1.768 MB / 421.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002248/0.2711, allocations: 1.073 MB / 423 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000379/0.2716, allocations: 130 kB / 423.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.715e-05/0.2716, allocations: 43.56 kB / 423.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of pre-optimization done (n=104): time 4.529e-06/0.2717, allocations: 0 / 423.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=120): time 0.01911/0.2908, allocations: 6.308 MB / 429.5 MB, free: 8.059 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.763e-05/0.2909, allocations: 64.41 kB / 429.6 MB, free: 7.984 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004019/0.2949, allocations: 1.516 MB / 431.1 MB, free: 6.457 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003081/0.2953, allocations: 49.64 kB / 431.1 MB, free: 6.402 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001158/0.2965, allocations: 0.9873 MB / 432.1 MB, free: 5.402 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007505/0.2972, allocations: 414 kB / 432.5 MB, free: 4.992 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007228/0.298, allocations: 251.4 kB / 432.8 MB, free: 4.742 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002047/0.2982, allocations: 365.9 kB / 433.1 MB, free: 4.379 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001615/0.2998, allocations: 0.73 MB / 433.8 MB, free: 3.648 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001809/0.3017, allocations: 1.055 MB / 434.9 MB, free: 2.465 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003875/0.3056, allocations: 1.871 MB / 436.8 MB, free: 476 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.133e-05/0.3056, allocations: 4 kB / 436.8 MB, free: 472 kB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005247/0.3109, allocations: 2.349 MB / 439.1 MB, free: 14.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.246e-05/0.3109, allocations: 15.94 kB / 439.1 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.457e-05/0.311, allocations: 8.344 kB / 439.1 MB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001254/0.3122, allocations: 407.1 kB / 439.5 MB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001441/0.3137, allocations: 331.5 kB / 439.9 MB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007134/0.3208, allocations: 5.06 MB / 444.9 MB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00228/0.3232, allocations: 91.91 kB / 445 MB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004476/0.3237, allocations: 55.98 kB / 445.1 MB, free: 7.844 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.002736/0.3264, allocations: 0.6965 MB / 445.8 MB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001028/0.3275, allocations: 166 kB / 445.9 MB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005208/0.3327, allocations: 2.141 MB / 448.1 MB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.213e-05/0.3328, allocations: 12 kB / 448.1 MB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-05/0.3328, allocations: 4 kB / 448.1 MB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.109e-05/0.3328, allocations: 7.969 kB / 448.1 MB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01228/0.3451, allocations: 4.565 MB / 452.7 MB, free: 124 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.163e-05/0.3452, allocations: 4 kB / 452.7 MB, free: 120 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.3451/0.6903, allocations: 218.3 kB / 452.9 MB, free: 69.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001742/0.6921, allocations: 471 kB / 453.3 MB, free: 69.81 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003344/0.6924, allocations: 33.08 kB / 453.4 MB, free: 69.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007453/0.6999, allocations: 6.684 MB / 460.1 MB, free: 65.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.7, allocations: 3.281 kB / 460.1 MB, free: 65.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006635/0.7066, allocations: 3.178 MB / 463.2 MB, free: 64.42 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001416/0.7081, allocations: 400.8 kB / 463.6 MB, free: 64.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003306/0.7084, allocations: 29.14 kB / 463.7 MB, free: 64.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009863/0.7094, allocations: 82.97 kB / 463.7 MB, free: 64.21 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003903/0.7098, allocations: 101.5 kB / 463.8 MB, free: 64.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.437e-05/0.7099, allocations: 34.36 kB / 463.9 MB, free: 64.19 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001987/0.7119, allocations: 1.047 MB / 464.9 MB, free: 63.79 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7119, allocations: 0 / 464.9 MB, free: 63.79 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002444/0.7144, allocations: 463.6 kB / 465.4 MB, free: 63.75 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.0004968/0.7149, allocations: 186.7 kB / 465.5 MB, free: 63.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00486/0.7198, allocations: 2.274 MB / 467.8 MB, free: 62.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.428e-06/0.7198, allocations: 0 / 467.8 MB, free: 62.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002702/0.7225, allocations: 1.495 MB / 469.3 MB, free: 61.81 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003063/0.7256, allocations: 443.3 kB / 469.7 MB, free: 61.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01093/0.7366, allocations: 4.468 MB / 474.2 MB, free: 59.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00203/0.7387, allocations: 1.822 MB / 476 MB, free: 58.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001811/0.7406, allocations: 392.7 kB / 476.4 MB, free: 58.56 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003713/0.7409, allocations: 110.3 kB / 476.5 MB, free: 58.55 MB / 382.1 MB Notification: Performance of SimCode: time 1.803e-06/0.741, allocations: 4 kB / 476.5 MB, free: 58.55 MB / 382.1 MB Notification: Performance of Templates: time 0.05712/0.7981, allocations: 25.98 MB / 0.4907 GB, free: 34.36 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)