Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001838/0.001838, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002528/0.002527, allocations: 187.2 kB / 16.25 MB, free: 6.629 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.785/1.785, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.00134/0.00134, allocations: 48.36 kB / 278.2 MB, free: 12.65 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3752/0.3765, allocations: 46.64 MB / 324.9 MB, free: 1.953 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.01388/0.3905, allocations: 8.816 MB / 333.7 MB, free: 11.01 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008275/0.3988, allocations: 2.869 MB / 336.5 MB, free: 8.383 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00241/0.4013, allocations: 31.88 kB / 336.6 MB, free: 8.352 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002354/0.4037, allocations: 0.5414 MB / 337.1 MB, free: 7.809 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00339/0.4071, allocations: 0.6606 MB / 337.8 MB, free: 7.145 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001043/0.4082, allocations: 287.7 kB / 338.1 MB, free: 6.863 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004228/0.4124, allocations: 2.389 MB / 340.4 MB, free: 4.461 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002534/0.415, allocations: 1.718 MB / 342.2 MB, free: 2.699 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002796/0.4178, allocations: 1.07 MB / 343.2 MB, free: 1.625 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002537/0.4204, allocations: 1.374 MB / 344.6 MB, free: 252 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006026/0.421, allocations: 280 kB / 344.9 MB, free: 15.97 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00126/0.4223, allocations: 363.8 kB / 345.2 MB, free: 15.62 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009436/0.4232, allocations: 0.7948 MB / 346 MB, free: 14.82 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002205/0.4254, allocations: 1.264 MB / 347.3 MB, free: 13.55 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004319/0.4298, allocations: 3.649 MB / 350.9 MB, free: 9.891 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.096e-06/0.4298, allocations: 0 / 350.9 MB, free: 9.891 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4298, allocations: 0 / 350.9 MB, free: 9.891 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.091e-05/0.4299, allocations: 0 / 350.9 MB, free: 9.891 MB / 286.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.007422/0.4373, allocations: 2.579 MB / 353.5 MB, free: 7.254 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.785e-05/0.4374, allocations: 11.89 kB / 353.5 MB, free: 7.242 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008867/0.4383, allocations: 254.1 kB / 353.8 MB, free: 6.992 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002338/0.4407, allocations: 1.303 MB / 355.1 MB, free: 5.633 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.772e-05/0.4408, allocations: 136 kB / 355.2 MB, free: 5.5 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003047/0.4411, allocations: 192 kB / 355.4 MB, free: 5.312 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00431/0.4454, allocations: 2.406 MB / 357.8 MB, free: 2.871 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.298e-05/0.4455, allocations: 7.984 kB / 357.8 MB, free: 2.863 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001884/0.4457, allocations: 72 kB / 357.9 MB, free: 2.793 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001832/0.4459, allocations: 87.5 kB / 358 MB, free: 2.707 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003652/0.4495, allocations: 2.02 MB / 360 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01456/0.4641, allocations: 7.456 MB / 367.5 MB, free: 9.02 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00198/0.4662, allocations: 1.268 MB / 368.7 MB, free: 7.691 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001629/0.4678, allocations: 0.9042 MB / 369.6 MB, free: 6.781 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000288/0.4681, allocations: 114.1 kB / 369.7 MB, free: 6.652 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.771e-05/0.4682, allocations: 43.56 kB / 369.8 MB, free: 6.598 MB / 302.1 MB Notification: Performance of pre-optimization done (n=84): time 3.336e-06/0.4682, allocations: 3.938 kB / 369.8 MB, free: 6.594 MB / 302.1 MB Notification: Performance of matching and sorting (n=100): time 0.01021/0.4784, allocations: 5.012 MB / 374.8 MB, free: 1.461 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.4785, allocations: 64.41 kB / 374.9 MB, free: 1.387 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002044/0.4805, allocations: 1.376 MB / 376.2 MB, free: 4 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001235/0.4807, allocations: 49.7 kB / 376.3 MB, free: 15.95 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007045/0.4814, allocations: 0.8969 MB / 377.2 MB, free: 15.04 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000304/0.4817, allocations: 343 kB / 377.5 MB, free: 14.7 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003785/0.4821, allocations: 214.8 kB / 377.7 MB, free: 14.48 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.4822, allocations: 353.9 kB / 378.1 MB, free: 14.13 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001014/0.4833, allocations: 0.6272 MB / 378.7 MB, free: 13.5 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001337/0.4846, allocations: 0.9337 MB / 379.6 MB, free: 12.45 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002307/0.4869, allocations: 1.649 MB / 381.3 MB, free: 10.68 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.487, allocations: 0 / 381.3 MB, free: 10.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004117/0.4911, allocations: 2.384 MB / 383.7 MB, free: 8.281 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.792e-05/0.4911, allocations: 16.19 kB / 383.7 MB, free: 8.266 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.866e-05/0.4911, allocations: 11.94 kB / 383.7 MB, free: 8.254 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001823/0.493, allocations: 0.7158 MB / 384.4 MB, free: 7.531 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008788/0.4939, allocations: 235.7 kB / 384.6 MB, free: 7.301 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01066/0.5045, allocations: 8.741 MB / 393.4 MB, free: 14.28 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/0.5058, allocations: 87.84 kB / 393.5 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.042e-05/0.506, allocations: 44 kB / 393.5 MB, free: 14.15 MB / 334.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.001244/0.5072, allocations: 0.634 MB / 394.1 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003094/0.5075, allocations: 142.2 kB / 394.3 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003242/0.5108, allocations: 1.901 MB / 396.2 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.5108, allocations: 8 kB / 396.2 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.5108, allocations: 8.125 kB / 396.2 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.5108, allocations: 3.984 kB / 396.2 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006618/0.5174, allocations: 4.01 MB / 400.2 MB, free: 7.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.398e-06/0.5175, allocations: 4 kB / 400.2 MB, free: 7.316 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008187/0.5183, allocations: 179.7 kB / 400.4 MB, free: 7.141 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001226/0.5196, allocations: 470.9 kB / 400.9 MB, free: 6.668 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-05/0.5197, allocations: 31.98 kB / 400.9 MB, free: 6.637 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006837/0.5265, allocations: 6.692 MB / 407.6 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.5265, allocations: 4.031 kB / 407.6 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005007/0.5316, allocations: 2.775 MB / 410.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001212/0.5328, allocations: 359.3 kB / 410.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002312/0.5331, allocations: 27.98 kB / 410.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008743/0.5339, allocations: 63.92 kB / 410.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002822/0.5342, allocations: 80.88 kB / 410.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.032e-05/0.5343, allocations: 28 kB / 410.9 MB, free: 12.13 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001799/0.5361, allocations: 0.9582 MB / 411.9 MB, free: 11.17 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5361, allocations: 0 / 411.9 MB, free: 11.17 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002037/0.5382, allocations: 435.9 kB / 412.3 MB, free: 10.74 MB / 350.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.000545/0.5388, allocations: 187 kB / 412.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004738/0.5435, allocations: 2.371 MB / 414.8 MB, free: 8.152 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/0.5435, allocations: 0 / 414.8 MB, free: 8.152 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002224/0.5458, allocations: 1.352 MB / 416.2 MB, free: 6.738 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002017/0.5478, allocations: 388.7 kB / 416.6 MB, free: 6.359 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00748/0.5553, allocations: 4.825 MB / 421.4 MB, free: 1.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001608/0.5569, allocations: 1.696 MB / 423.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001216/0.5582, allocations: 308.1 kB / 423.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002717/0.5585, allocations: 95.42 kB / 423.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of SimCode: time 1.252e-06/0.5585, allocations: 4 kB / 423.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of Templates: time 0.04452/0.603, allocations: 23.98 MB / 447.5 MB, free: 7.324 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe 2>&1)