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.001334/0.001333, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001728/0.001728, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.057/2.057, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.0005656/0.000566, allocations: 10.81 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.3533, allocations: 47.58 MB / 326.5 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.01167/0.365, allocations: 7.83 MB / 334.3 MB, free: 11.27 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007945/0.373, allocations: 2.741 MB / 337.1 MB, free: 8.902 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002111/0.3752, allocations: 31.88 kB / 337.1 MB, free: 8.871 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002432/0.3777, allocations: 497.1 kB / 337.6 MB, free: 8.383 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0036/0.3813, allocations: 0.6216 MB / 338.2 MB, free: 7.758 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001104/0.3824, allocations: 203.7 kB / 338.4 MB, free: 7.559 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004836/0.3873, allocations: 2.467 MB / 340.9 MB, free: 5.078 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003178/0.3905, allocations: 1.197 MB / 342.1 MB, free: 3.848 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003275/0.3938, allocations: 0.8093 MB / 342.9 MB, free: 3.035 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003513/0.3974, allocations: 1.129 MB / 344 MB, free: 1.902 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008153/0.3982, allocations: 124 kB / 344.1 MB, free: 1.781 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001504/0.3997, allocations: 187.9 kB / 344.3 MB, free: 1.598 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001844/0.4016, allocations: 0.6191 MB / 344.9 MB, free: 0.9766 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001495/0.4031, allocations: 456.5 kB / 345.4 MB, free: 0.5234 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004715/0.4079, allocations: 2.961 MB / 348.3 MB, free: 13.55 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.784e-06/0.4079, allocations: 0 / 348.3 MB, free: 13.55 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.347e-06/0.4079, allocations: 0 / 348.3 MB, free: 13.55 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001586/0.4081, allocations: 0 / 348.3 MB, free: 13.55 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.006388/0.4145, allocations: 2.22 MB / 350.5 MB, free: 11.28 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.4146, allocations: 8.031 kB / 350.5 MB, free: 11.27 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001358/0.4159, allocations: 257.1 kB / 350.8 MB, free: 11.02 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003469/0.4194, allocations: 1.26 MB / 352.1 MB, free: 9.699 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001763/0.4196, allocations: 139.6 kB / 352.2 MB, free: 9.562 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006931/0.4203, allocations: 179.9 kB / 352.4 MB, free: 9.387 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006452/0.4268, allocations: 2.398 MB / 354.8 MB, free: 6.953 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-05/0.4269, allocations: 3.984 kB / 354.8 MB, free: 6.949 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003228/0.4273, allocations: 79.98 kB / 354.8 MB, free: 6.871 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001192/0.4274, allocations: 83.5 kB / 354.9 MB, free: 6.789 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004805/0.4322, allocations: 2.028 MB / 357 MB, free: 4.758 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01839/0.4507, allocations: 7.499 MB / 364.5 MB, free: 13.05 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002384/0.4531, allocations: 1.283 MB / 365.7 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001919/0.4551, allocations: 0.9081 MB / 366.6 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002999/0.4554, allocations: 126 kB / 366.8 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.939e-05/0.4555, allocations: 43.56 kB / 366.8 MB, free: 10.6 MB / 302.1 MB Notification: Performance of pre-optimization done (n=84): time 3.226e-06/0.4555, allocations: 0 / 366.8 MB, free: 10.6 MB / 302.1 MB Notification: Performance of matching and sorting (n=100): time 0.01154/0.4671, allocations: 5.037 MB / 371.9 MB, free: 5.445 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.208e-05/0.4672, allocations: 68.41 kB / 371.9 MB, free: 5.367 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003011/0.4702, allocations: 1.361 MB / 373.3 MB, free: 4 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002546/0.4705, allocations: 41.7 kB / 373.3 MB, free: 3.953 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008859/0.4714, allocations: 0.893 MB / 374.2 MB, free: 3.047 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005251/0.4719, allocations: 354.9 kB / 374.6 MB, free: 2.695 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.783e-05/0.472, allocations: 24 kB / 374.6 MB, free: 2.672 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002178/0.4723, allocations: 353.9 kB / 374.9 MB, free: 2.32 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001578/0.4739, allocations: 0.6389 MB / 375.6 MB, free: 1.684 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001387/0.4753, allocations: 0.922 MB / 376.5 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001645/0.4769, allocations: 0.772 MB / 377.3 MB, free: 15.86 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.682e-05/0.477, allocations: 8 kB / 377.3 MB, free: 15.86 MB / 318.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.005293/0.4823, allocations: 2.395 MB / 379.7 MB, free: 13.45 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.818e-05/0.4824, allocations: 12 kB / 379.7 MB, free: 13.44 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.304e-05/0.4824, allocations: 12 kB / 379.7 MB, free: 13.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002153/0.4846, allocations: 0.7082 MB / 380.4 MB, free: 12.71 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/0.4857, allocations: 235.7 kB / 380.6 MB, free: 12.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01313/0.4988, allocations: 7.994 MB / 388.6 MB, free: 4.219 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00206/0.501, allocations: 88.06 kB / 388.7 MB, free: 4.133 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003531/0.5014, allocations: 48 kB / 388.8 MB, free: 4.086 MB / 318.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(6,77.8%) 29} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001782/0.5032, allocations: 0.6223 MB / 389.4 MB, free: 3.453 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006316/0.5038, allocations: 146.2 kB / 389.5 MB, free: 3.309 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004053/0.5079, allocations: 1.909 MB / 391.4 MB, free: 1.371 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.325e-05/0.5079, allocations: 12 kB / 391.4 MB, free: 1.359 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.69e-05/0.5079, allocations: 4 kB / 391.4 MB, free: 1.355 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/0.508, allocations: 7.922 kB / 391.5 MB, free: 1.348 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00911/0.5171, allocations: 4.022 MB / 395.5 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-05/0.5172, allocations: 0 / 395.5 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008925/0.5181, allocations: 187.7 kB / 395.7 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001308/0.5194, allocations: 471 kB / 396.1 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001203/0.5196, allocations: 27.98 kB / 396.1 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007626/0.5272, allocations: 6.148 MB / 402.3 MB, free: 6 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.463e-06/0.5273, allocations: 4.031 kB / 402.3 MB, free: 5.996 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006113/0.5334, allocations: 2.79 MB / 405.1 MB, free: 3.156 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001171/0.5346, allocations: 355.2 kB / 405.4 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006041/0.5353, allocations: 35.92 kB / 405.5 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001169/0.5365, allocations: 75.92 kB / 405.5 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003312/0.5368, allocations: 84.77 kB / 405.6 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.356e-05/0.5369, allocations: 24 kB / 405.6 MB, free: 2.574 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.002328/0.5393, allocations: 0.9543 MB / 406.6 MB, free: 1.617 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5393, allocations: 0 / 406.6 MB, free: 1.617 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002561/0.5419, allocations: 436.1 kB / 407 MB, free: 1.191 MB / 334.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 (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000432/0.5423, allocations: 139 kB / 407.2 MB, free: 1.043 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.004235/0.5465, allocations: 2.007 MB / 409.2 MB, free: 15.01 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.937e-06/0.5466, allocations: 1.875 kB / 409.2 MB, free: 15.01 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002438/0.549, allocations: 1.363 MB / 410.5 MB, free: 13.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002806/0.5519, allocations: 360.7 kB / 410.9 MB, free: 13.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009947/0.5619, allocations: 4.761 MB / 415.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003024/0.565, allocations: 1.693 MB / 417.3 MB, free: 6.691 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001786/0.5668, allocations: 308 kB / 417.6 MB, free: 6.387 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006338/0.5675, allocations: 99.42 kB / 417.7 MB, free: 6.289 MB / 350.1 MB Notification: Performance of SimCode: time 1.794e-06/0.5675, allocations: 0 / 417.7 MB, free: 6.289 MB / 350.1 MB Notification: Performance of Templates: time 0.05222/0.6197, allocations: 22.1 MB / 439.8 MB, free: 156 kB / 366.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)