Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.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_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009863/0.009863, allocations: 101.5 kB / 15.73 MB, free: 6.016 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.001723/0.001724, allocations: 198.4 kB / 16.68 MB, free: 5.938 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.835/1.835, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.001494/0.001494, allocations: 53.45 kB / 326.6 MB, free: 14.36 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1351, allocations: 46.63 MB / 373.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.01205/0.1472, allocations: 8.851 MB / 382 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007733/0.155, allocations: 2.918 MB / 385 MB, free: 5.48 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002176/0.1573, allocations: 35.81 kB / 385 MB, free: 5.445 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002267/0.1596, allocations: 0.6133 MB / 385.6 MB, free: 4.828 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004283/0.1639, allocations: 0.7261 MB / 386.3 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001441/0.1654, allocations: 327.6 kB / 386.6 MB, free: 3.777 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004057/0.1695, allocations: 2.393 MB / 389 MB, free: 1.375 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003106/0.1726, allocations: 1.71 MB / 390.7 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002451/0.1751, allocations: 1.059 MB / 391.8 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003012/0.1781, allocations: 1.343 MB / 393.2 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004837/0.1786, allocations: 280 kB / 393.4 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009773/0.1796, allocations: 367.8 kB / 393.8 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008264/0.1804, allocations: 0.8064 MB / 394.6 MB, free: 11.76 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001605/0.182, allocations: 1.264 MB / 395.9 MB, free: 10.49 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004952/0.187, allocations: 3.676 MB / 399.5 MB, free: 6.805 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.808e-06/0.187, allocations: 4 kB / 399.5 MB, free: 6.801 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.927e-06/0.1871, allocations: 0 / 399.5 MB, free: 6.801 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001281/0.1872, allocations: 0 / 399.5 MB, free: 6.801 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.007452/0.1947, allocations: 2.579 MB / 402.1 MB, free: 4.164 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.339e-05/0.1948, allocations: 15.89 kB / 402.1 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009675/0.1957, allocations: 254.1 kB / 402.4 MB, free: 3.898 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002979/0.1987, allocations: 1.303 MB / 403.7 MB, free: 2.539 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001109/0.1989, allocations: 135.9 kB / 403.8 MB, free: 2.406 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002826/0.1992, allocations: 188 kB / 404 MB, free: 2.223 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004405/0.2036, allocations: 2.413 MB / 406.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.746e-05/0.2037, allocations: 3.906 kB / 406.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001906/0.2039, allocations: 75.98 kB / 406.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001267/0.204, allocations: 91.44 kB / 406.6 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003559/0.2076, allocations: 2.016 MB / 408.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01222/0.2198, allocations: 7.362 MB / 416 MB, free: 6.012 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001905/0.2217, allocations: 1.276 MB / 417.2 MB, free: 4.672 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001724/0.2235, allocations: 0.912 MB / 418.1 MB, free: 3.754 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002629/0.2238, allocations: 114.1 kB / 418.3 MB, free: 3.625 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.314e-05/0.2238, allocations: 51.55 kB / 418.3 MB, free: 3.566 MB / 350.1 MB Notification: Performance of pre-optimization done (n=84): time 3.878e-06/0.2238, allocations: 0 / 418.3 MB, free: 3.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=100): time 0.0101/0.2339, allocations: 5.005 MB / 423.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.008e-05/0.234, allocations: 64.34 kB / 423.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002141/0.2362, allocations: 1.38 MB / 424.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.689e-05/0.2363, allocations: 41.7 kB / 424.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006903/0.237, allocations: 0.8969 MB / 425.7 MB, free: 12.03 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003604/0.2374, allocations: 350.9 kB / 426 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003562/0.2377, allocations: 214.8 kB / 426.2 MB, free: 11.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.2379, allocations: 353.9 kB / 426.6 MB, free: 11.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009886/0.2389, allocations: 0.6349 MB / 427.2 MB, free: 10.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001177/0.2401, allocations: 0.9259 MB / 428.1 MB, free: 9.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002233/0.2423, allocations: 1.645 MB / 429.8 MB, free: 7.664 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/0.2423, allocations: 4 kB / 429.8 MB, free: 7.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.00432/0.2467, allocations: 2.386 MB / 432.2 MB, free: 5.258 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.074e-05/0.2467, allocations: 8 kB / 432.2 MB, free: 5.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.977e-05/0.2467, allocations: 8.25 kB / 432.2 MB, free: 5.242 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001849/0.2486, allocations: 0.7157 MB / 432.9 MB, free: 4.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008538/0.2495, allocations: 231.7 kB / 433.1 MB, free: 4.293 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01183/0.2613, allocations: 8.737 MB / 441.9 MB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/0.2628, allocations: 88.02 kB / 442 MB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.33e-05/0.2629, allocations: 47.98 kB / 442 MB, free: 11.14 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (6,29,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00178/0.2647, allocations: 0.6185 MB / 442.6 MB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005124/0.2653, allocations: 146.2 kB / 442.8 MB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003967/0.2692, allocations: 1.893 MB / 444.7 MB, free: 8.453 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.995e-05/0.2693, allocations: 12.12 kB / 444.7 MB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.494e-05/0.2693, allocations: 8 kB / 444.7 MB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.622e-05/0.2693, allocations: 7.922 kB / 444.7 MB, free: 8.426 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008304/0.2776, allocations: 4.02 MB / 448.7 MB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.2777, allocations: 0 / 448.7 MB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007963/0.2785, allocations: 179.8 kB / 448.9 MB, free: 4.145 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001253/0.2798, allocations: 466.9 kB / 449.3 MB, free: 3.676 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.459e-05/0.2799, allocations: 27.98 kB / 449.4 MB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2993/0.5791, allocations: 6.686 MB / 456.1 MB, free: 68.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/0.5792, allocations: 4.375 kB / 456.1 MB, free: 68.54 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005516/0.5847, allocations: 2.769 MB / 458.8 MB, free: 67.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001155/0.5859, allocations: 357.4 kB / 459.2 MB, free: 67.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002418/0.5862, allocations: 29.39 kB / 459.2 MB, free: 67.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008046/0.587, allocations: 67.31 kB / 459.3 MB, free: 67.72 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002817/0.5873, allocations: 85.56 kB / 459.4 MB, free: 67.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.348e-05/0.5874, allocations: 31.16 kB / 459.4 MB, free: 67.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001742/0.5891, allocations: 0.9507 MB / 460.3 MB, free: 67.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.5891, allocations: 0.75 kB / 460.3 MB, free: 67.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001885/0.591, allocations: 437.1 kB / 460.8 MB, free: 67.29 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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],loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 80 * 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.0003871/0.5914, allocations: 181.7 kB / 460.9 MB, free: 67.19 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003644/0.5951, allocations: 2.01 MB / 463 MB, free: 66.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.295e-06/0.5951, allocations: 4.438 kB / 463 MB, free: 66.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002168/0.5973, allocations: 1.335 MB / 464.3 MB, free: 65.64 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002205/0.5995, allocations: 380.3 kB / 464.7 MB, free: 65.53 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006798/0.6063, allocations: 4.016 MB / 468.7 MB, free: 63.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001258/0.6076, allocations: 1.695 MB / 470.4 MB, free: 62.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001102/0.6087, allocations: 311.1 kB / 470.7 MB, free: 62.67 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002693/0.609, allocations: 97.88 kB / 470.8 MB, free: 62.66 MB / 382.1 MB Notification: Performance of SimCode: time 1.192e-06/0.609, allocations: 0 / 470.8 MB, free: 62.66 MB / 382.1 MB Notification: Performance of Templates: time 0.03835/0.6474, allocations: 24.89 MB / 495.7 MB, free: 41.51 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe 2>&1)