Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001218/0.001218, allocations: 114.2 kB / 17.06 MB, free: 5.969 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.00133/0.00133, allocations: 198.8 kB / 18.01 MB, free: 5.047 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.747/1.747, allocations: 205.1 MB / 223.9 MB, free: 12.26 MB / 190.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.001421/0.001421, allocations: 43.94 kB / 327.9 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1107, allocations: 46.62 MB / 374.5 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.2768/0.3875, allocations: 8.861 MB / 383.4 MB, free: 8.586 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006721/0.3943, allocations: 2.912 MB / 386.3 MB, free: 7.055 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001686/0.396, allocations: 38.56 kB / 386.3 MB, free: 7.043 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002176/0.3983, allocations: 0.6059 MB / 386.9 MB, free: 6.723 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003254/0.4016, allocations: 0.7291 MB / 387.6 MB, free: 6.262 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009686/0.4026, allocations: 324.5 kB / 388 MB, free: 6.062 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004125/0.4067, allocations: 2.39 MB / 390.3 MB, free: 4.867 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002483/0.4092, allocations: 1.718 MB / 392.1 MB, free: 4.156 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002605/0.4118, allocations: 1.053 MB / 393.1 MB, free: 3.648 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003253/0.4151, allocations: 1.346 MB / 394.5 MB, free: 3.02 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008931/0.416, allocations: 278.7 kB / 394.7 MB, free: 3.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001664/0.4177, allocations: 371.2 kB / 395.1 MB, free: 2.992 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001153/0.4189, allocations: 0.8018 MB / 395.9 MB, free: 2.559 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002348/0.4212, allocations: 1.261 MB / 397.2 MB, free: 1.742 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006634/0.4279, allocations: 3.689 MB / 400.9 MB, free: 96 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/0.4279, allocations: 0 / 400.9 MB, free: 96 kB / 318.1 MB Notification: Performance of FrontEnd: time 3.948e-06/0.4279, allocations: 0 / 400.9 MB, free: 96 kB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001392/0.4281, allocations: 1.094 kB / 400.9 MB, free: 96 kB / 318.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.007934/0.436, allocations: 2.63 MB / 403.5 MB, free: 14.23 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.582e-05/0.4361, allocations: 13.33 kB / 403.5 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/0.4371, allocations: 276.3 kB / 403.8 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002845/0.44, allocations: 1.315 MB / 405.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001879/0.4402, allocations: 133 kB / 405.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003511/0.4406, allocations: 187 kB / 405.4 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005223/0.4458, allocations: 2.411 MB / 407.8 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.169e-05/0.4459, allocations: 14.23 kB / 407.8 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001871/0.4461, allocations: 76.02 kB / 407.9 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001403/0.4462, allocations: 93.05 kB / 408 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004101/0.4503, allocations: 2.011 MB / 410 MB, free: 10.47 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01386/0.4642, allocations: 7.386 MB / 417.4 MB, free: 4.367 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001955/0.4662, allocations: 1.272 MB / 418.6 MB, free: 3.035 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001725/0.4679, allocations: 0.917 MB / 419.6 MB, free: 2.113 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002975/0.4682, allocations: 118.1 kB / 419.7 MB, free: 1.98 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.109e-05/0.4683, allocations: 47.5 kB / 419.7 MB, free: 1.926 MB / 334.1 MB Notification: Performance of pre-optimization done (n=84): time 3.176e-06/0.4683, allocations: 0 / 419.7 MB, free: 1.926 MB / 334.1 MB Notification: Performance of matching and sorting (n=100): time 0.0101/0.4784, allocations: 5.028 MB / 424.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.883e-05/0.4785, allocations: 64.41 kB / 424.8 MB, free: 12.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002167/0.4807, allocations: 1.38 MB / 426.2 MB, free: 11.33 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.542e-05/0.4808, allocations: 41.7 kB / 426.2 MB, free: 11.28 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006939/0.4815, allocations: 0.911 MB / 427.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003047/0.4818, allocations: 372.8 kB / 427.5 MB, free: 9.992 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003773/0.4822, allocations: 222.8 kB / 427.7 MB, free: 9.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002566/0.4824, allocations: 353.9 kB / 428.1 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001009/0.4834, allocations: 0.6349 MB / 428.7 MB, free: 8.781 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00123/0.4847, allocations: 0.922 MB / 429.6 MB, free: 7.738 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002286/0.487, allocations: 1.653 MB / 431.3 MB, free: 5.965 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.487, allocations: 4 kB / 431.3 MB, free: 5.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004296/0.4913, allocations: 2.395 MB / 433.7 MB, free: 3.551 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.804e-05/0.4913, allocations: 8 kB / 433.7 MB, free: 3.543 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.975e-05/0.4914, allocations: 8 kB / 433.7 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001869/0.4932, allocations: 0.716 MB / 434.4 MB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000891/0.4942, allocations: 231.6 kB / 434.6 MB, free: 2.586 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01269/0.5069, allocations: 8.753 MB / 443.4 MB, free: 9.551 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001891/0.5088, allocations: 87.84 kB / 443.5 MB, free: 9.465 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001268/0.5089, allocations: 44.12 kB / 443.5 MB, free: 9.422 MB / 366.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.001689/0.5106, allocations: 0.6301 MB / 444.2 MB, free: 8.781 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000483/0.5111, allocations: 155 kB / 444.3 MB, free: 8.629 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003914/0.5151, allocations: 1.889 MB / 446.2 MB, free: 6.719 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/0.5151, allocations: 12 kB / 446.2 MB, free: 6.707 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/0.5151, allocations: 4 kB / 446.2 MB, free: 6.703 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.453e-05/0.5151, allocations: 3.984 kB / 446.2 MB, free: 6.699 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007973/0.5231, allocations: 4.008 MB / 450.2 MB, free: 2.605 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.989e-06/0.5232, allocations: 7.938 kB / 450.2 MB, free: 2.598 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008311/0.524, allocations: 184 kB / 450.4 MB, free: 2.418 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00128/0.5253, allocations: 463.4 kB / 450.9 MB, free: 1.953 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.715e-05/0.5254, allocations: 35.97 kB / 450.9 MB, free: 1.918 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007219/0.5326, allocations: 6.681 MB / 457.6 MB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/0.5326, allocations: 4.031 kB / 457.6 MB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004811/0.5375, allocations: 2.784 MB / 460.4 MB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001014/0.5385, allocations: 372 kB / 460.7 MB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002156/0.5387, allocations: 23.98 kB / 460.8 MB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007959/0.5395, allocations: 71.92 kB / 460.8 MB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002275/0.5398, allocations: 76.88 kB / 460.9 MB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.086e-05/0.5398, allocations: 31.98 kB / 460.9 MB, free: 7.387 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001569/0.5414, allocations: 0.9504 MB / 461.9 MB, free: 6.434 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.583e-06/0.5414, allocations: 4 kB / 461.9 MB, free: 6.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00167/0.5431, allocations: 443.9 kB / 462.3 MB, free: 5.996 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.0003977/0.5435, allocations: 182.9 kB / 462.5 MB, free: 5.809 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003348/0.5469, allocations: 2.007 MB / 464.5 MB, free: 3.773 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.5469, allocations: 1.812 kB / 464.5 MB, free: 3.773 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001957/0.5489, allocations: 1.347 MB / 465.9 MB, free: 2.367 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001684/0.5506, allocations: 388.4 kB / 466.2 MB, free: 1.992 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006457/0.557, allocations: 4.075 MB / 470.3 MB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001401/0.5584, allocations: 1.692 MB / 472 MB, free: 12.13 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0009063/0.5594, allocations: 308 kB / 472.3 MB, free: 11.82 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002872/0.5597, allocations: 99.42 kB / 472.4 MB, free: 11.73 MB / 398.1 MB Notification: Performance of SimCode: time 1.082e-06/0.5597, allocations: 0 / 472.4 MB, free: 11.73 MB / 398.1 MB Notification: Performance of Templates: time 0.04915/0.6088, allocations: 24.42 MB / 496.8 MB, free: 3.266 MB / 414.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe 2>&1)