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.00823/0.008231, allocations: 98.08 kB / 15.73 MB, free: 6.035 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.001486/0.001486, allocations: 193.4 kB / 16.67 MB, free: 5.961 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.958/1.958, allocations: 205.1 MB / 222.6 MB, free: 4.512 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.001261/0.001261, allocations: 50.78 kB / 326.6 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1194, allocations: 46.62 MB / 373.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.01157/0.131, allocations: 8.863 MB / 382 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007442/0.1386, allocations: 2.91 MB / 385 MB, free: 5.484 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002216/0.1408, allocations: 39.81 kB / 385 MB, free: 5.445 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002205/0.1431, allocations: 0.6446 MB / 385.6 MB, free: 4.797 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003411/0.1465, allocations: 0.7574 MB / 386.4 MB, free: 4.035 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00129/0.1478, allocations: 331.5 kB / 386.7 MB, free: 3.711 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004856/0.1527, allocations: 2.389 MB / 389.1 MB, free: 1.312 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0025/0.1552, allocations: 1.714 MB / 390.8 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002121/0.1574, allocations: 1.071 MB / 391.9 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002871/0.1603, allocations: 1.343 MB / 393.2 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005718/0.1609, allocations: 280 kB / 393.5 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009214/0.1618, allocations: 363.8 kB / 393.9 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008522/0.1627, allocations: 0.7986 MB / 394.7 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001863/0.1645, allocations: 1.268 MB / 395.9 MB, free: 10.42 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004757/0.1693, allocations: 3.69 MB / 399.6 MB, free: 6.719 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.1693, allocations: 3.938 kB / 399.6 MB, free: 6.715 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.1694, allocations: 0 / 399.6 MB, free: 6.715 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001176/0.1695, allocations: 0 / 399.6 MB, free: 6.715 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.005934/0.1754, allocations: 2.631 MB / 402.3 MB, free: 4.023 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.078e-05/0.1755, allocations: 11.89 kB / 402.3 MB, free: 4.012 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007529/0.1763, allocations: 271.4 kB / 402.5 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002903/0.1792, allocations: 1.316 MB / 403.8 MB, free: 2.375 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/0.1793, allocations: 135.9 kB / 404 MB, free: 2.242 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003179/0.1796, allocations: 188.1 kB / 404.2 MB, free: 2.059 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00416/0.1838, allocations: 2.413 MB / 406.6 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.027e-05/0.1839, allocations: 11.89 kB / 406.6 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001625/0.1841, allocations: 75.94 kB / 406.7 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-05/0.1842, allocations: 87.48 kB / 406.7 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003543/0.1877, allocations: 2.012 MB / 408.8 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01303/0.2008, allocations: 7.388 MB / 416.1 MB, free: 5.824 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001914/0.2027, allocations: 1.272 MB / 417.4 MB, free: 4.488 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001752/0.2045, allocations: 0.9198 MB / 418.3 MB, free: 3.562 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002517/0.2048, allocations: 114.1 kB / 418.4 MB, free: 3.434 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.2048, allocations: 47.5 kB / 418.5 MB, free: 3.379 MB / 350.1 MB Notification: Performance of pre-optimization done (n=84): time 3.237e-06/0.2048, allocations: 0 / 418.5 MB, free: 3.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=100): time 0.01022/0.215, allocations: 5.036 MB / 423.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.2151, allocations: 64.41 kB / 423.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002332/0.2175, allocations: 1.38 MB / 425 MB, free: 12.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001458/0.2176, allocations: 41.7 kB / 425 MB, free: 12.72 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007758/0.2184, allocations: 0.911 MB / 425.9 MB, free: 11.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000375/0.2188, allocations: 372.8 kB / 426.3 MB, free: 11.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003626/0.2192, allocations: 214.9 kB / 426.5 MB, free: 11.22 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.2194, allocations: 357.9 kB / 426.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009819/0.2203, allocations: 0.6311 MB / 427.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001208/0.2216, allocations: 0.922 MB / 428.4 MB, free: 9.188 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002335/0.2239, allocations: 1.653 MB / 430.1 MB, free: 7.414 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/0.2239, allocations: 0 / 430.1 MB, free: 7.414 MB / 366.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.00447/0.2284, allocations: 2.399 MB / 432.5 MB, free: 5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.973e-05/0.2285, allocations: 8 kB / 432.5 MB, free: 4.992 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/0.2285, allocations: 8 kB / 432.5 MB, free: 4.984 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001968/0.2305, allocations: 0.716 MB / 433.2 MB, free: 4.262 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.2315, allocations: 231.6 kB / 433.4 MB, free: 4.035 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01235/0.2439, allocations: 8.738 MB / 442.1 MB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001752/0.2457, allocations: 88 kB / 442.2 MB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/0.2458, allocations: 44.12 kB / 442.3 MB, free: 10.89 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.001414/0.2472, allocations: 0.6301 MB / 442.9 MB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004018/0.2477, allocations: 155 kB / 443.1 MB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003452/0.2511, allocations: 1.897 MB / 445 MB, free: 8.176 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.526e-05/0.2512, allocations: 8 kB / 445 MB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.2512, allocations: 8 kB / 445 MB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/0.2512, allocations: 3.984 kB / 445 MB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008347/0.2595, allocations: 4.004 MB / 449 MB, free: 4.066 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/0.2596, allocations: 8.062 kB / 449 MB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008912/0.2605, allocations: 183.7 kB / 449.2 MB, free: 3.879 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001324/0.2619, allocations: 462.9 kB / 449.6 MB, free: 3.414 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.41e-05/0.262, allocations: 31.97 kB / 449.7 MB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3388/0.6007, allocations: 6.689 MB / 456.3 MB, free: 68.06 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.6008, allocations: 2.031 kB / 456.3 MB, free: 68.06 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007393/0.6082, allocations: 2.78 MB / 459.1 MB, free: 67.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001678/0.61, allocations: 363.5 kB / 459.5 MB, free: 67.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003112/0.6103, allocations: 30.86 kB / 459.5 MB, free: 67.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009209/0.6112, allocations: 69.59 kB / 459.6 MB, free: 67.17 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003768/0.6116, allocations: 81.59 kB / 459.7 MB, free: 67.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.13e-05/0.6117, allocations: 31.53 kB / 459.7 MB, free: 67.15 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002135/0.6138, allocations: 0.9509 MB / 460.6 MB, free: 66.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6139, allocations: 2.094 kB / 460.6 MB, free: 66.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003132/0.617, allocations: 437.4 kB / 461.1 MB, free: 66.73 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.0007282/0.6178, allocations: 174.7 kB / 461.2 MB, free: 66.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005005/0.6228, allocations: 2.016 MB / 463.3 MB, free: 65.81 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.131e-05/0.6228, allocations: 1.156 kB / 463.3 MB, free: 65.81 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002804/0.6257, allocations: 1.354 MB / 464.6 MB, free: 65.06 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0032/0.6289, allocations: 384.3 kB / 465 MB, free: 64.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0099/0.6388, allocations: 4.048 MB / 469 MB, free: 62.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001854/0.6407, allocations: 1.696 MB / 470.7 MB, free: 62.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001534/0.6423, allocations: 314.3 kB / 471 MB, free: 62.03 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003133/0.6426, allocations: 94.31 kB / 471.1 MB, free: 62.02 MB / 382.1 MB Notification: Performance of SimCode: time 2.925e-06/0.6426, allocations: 0 / 471.1 MB, free: 62.02 MB / 382.1 MB Notification: Performance of Templates: time 0.04094/0.6836, allocations: 24.44 MB / 495.6 MB, free: 41.23 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)