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.002041/0.00204, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0031/0.003099, allocations: 194.5 kB / 16.14 MB, free: 6.66 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.769/1.769, allocations: 205.1 MB / 222 MB, free: 4.73 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.001379/0.001378, allocations: 55.92 kB / 278.1 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3119, allocations: 46.62 MB / 324.7 MB, free: 1.949 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.01137/0.3234, allocations: 8.817 MB / 333.5 MB, free: 11 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.009885/0.3333, allocations: 2.881 MB / 336.4 MB, free: 8.414 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003541/0.3369, allocations: 39.81 kB / 336.4 MB, free: 8.375 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002701/0.3398, allocations: 0.5337 MB / 337 MB, free: 7.84 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004439/0.3443, allocations: 0.6645 MB / 337.6 MB, free: 7.172 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001286/0.3456, allocations: 287.7 kB / 337.9 MB, free: 6.891 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004767/0.3503, allocations: 2.759 MB / 340.7 MB, free: 4.117 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002825/0.3532, allocations: 1.417 MB / 342.1 MB, free: 2.656 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002289/0.3555, allocations: 0.9222 MB / 343 MB, free: 1.73 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002969/0.3585, allocations: 1.288 MB / 344.3 MB, free: 448 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001333/0.3599, allocations: 172 kB / 344.5 MB, free: 276 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001391/0.3613, allocations: 275.7 kB / 344.7 MB, free: 0 / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009726/0.3623, allocations: 0.6971 MB / 345.4 MB, free: 15.3 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001985/0.3643, allocations: 1.139 MB / 346.6 MB, free: 14.16 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004596/0.3689, allocations: 3.551 MB / 350.1 MB, free: 10.59 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.708e-06/0.369, allocations: 4 kB / 350.1 MB, free: 10.59 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.369, allocations: 0 / 350.1 MB, free: 10.59 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001158/0.3691, allocations: 0 / 350.1 MB, free: 10.59 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.008128/0.3772, allocations: 2.575 MB / 352.7 MB, free: 7.957 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.285e-05/0.3773, allocations: 12.03 kB / 352.7 MB, free: 7.945 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001117/0.3785, allocations: 266 kB / 353 MB, free: 7.684 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003073/0.3816, allocations: 1.299 MB / 354.3 MB, free: 6.328 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000146/0.3817, allocations: 136 kB / 354.4 MB, free: 6.195 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000299/0.382, allocations: 188 kB / 354.6 MB, free: 6.012 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004788/0.3868, allocations: 2.41 MB / 357 MB, free: 3.566 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.99e-05/0.3869, allocations: 0 / 357 MB, free: 3.566 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000203/0.3871, allocations: 75.98 kB / 357.1 MB, free: 3.492 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001284/0.3873, allocations: 87.48 kB / 357.1 MB, free: 3.406 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003677/0.391, allocations: 2.016 MB / 359.2 MB, free: 1.387 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01367/0.4047, allocations: 7.452 MB / 366.6 MB, free: 9.727 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002045/0.4068, allocations: 1.28 MB / 367.9 MB, free: 8.387 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001652/0.4084, allocations: 0.9003 MB / 368.8 MB, free: 7.48 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003029/0.4088, allocations: 122 kB / 368.9 MB, free: 7.344 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.874e-05/0.4088, allocations: 43.56 kB / 369 MB, free: 7.289 MB / 302.1 MB Notification: Performance of pre-optimization done (n=84): time 2.835e-06/0.4089, allocations: 7.938 kB / 369 MB, free: 7.281 MB / 302.1 MB Notification: Performance of matching and sorting (n=100): time 0.01078/0.4196, allocations: 5.009 MB / 374 MB, free: 2.156 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.359e-05/0.4197, allocations: 64.41 kB / 374 MB, free: 2.082 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002822/0.4226, allocations: 1.372 MB / 375.4 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001321/0.4227, allocations: 41.7 kB / 375.4 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008589/0.4236, allocations: 0.9008 MB / 376.3 MB, free: 15.74 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003787/0.424, allocations: 351 kB / 376.7 MB, free: 15.39 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004484/0.4245, allocations: 214.8 kB / 376.9 MB, free: 15.17 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.4247, allocations: 349.9 kB / 377.2 MB, free: 14.82 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001122/0.4258, allocations: 0.6311 MB / 377.9 MB, free: 14.2 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001284/0.4271, allocations: 0.9298 MB / 378.8 MB, free: 13.14 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002418/0.4295, allocations: 1.649 MB / 380.5 MB, free: 11.38 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.2e-05/0.4295, allocations: 4 kB / 380.5 MB, free: 11.37 MB / 318.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004798/0.4343, allocations: 2.384 MB / 382.8 MB, free: 8.973 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.027e-05/0.4344, allocations: 12 kB / 382.9 MB, free: 8.961 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.203e-05/0.4344, allocations: 8 kB / 382.9 MB, free: 8.953 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002208/0.4366, allocations: 0.7041 MB / 383.6 MB, free: 8.242 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.4377, allocations: 239.6 kB / 383.8 MB, free: 8.008 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01172/0.4494, allocations: 8.017 MB / 391.8 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00145/0.4509, allocations: 91.97 kB / 391.9 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002084/0.4512, allocations: 44 kB / 391.9 MB, free: 15.59 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.001354/0.4525, allocations: 0.6301 MB / 392.6 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005888/0.4531, allocations: 142.2 kB / 392.7 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004088/0.4572, allocations: 1.893 MB / 394.6 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.557e-05/0.4573, allocations: 16 kB / 394.6 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.481e-05/0.4573, allocations: 0 / 394.6 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-05/0.4573, allocations: 11.92 kB / 394.6 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009107/0.4664, allocations: 4.021 MB / 398.7 MB, free: 8.746 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/0.4665, allocations: 4 kB / 398.7 MB, free: 8.742 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008681/0.4674, allocations: 179.8 kB / 398.8 MB, free: 8.566 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001401/0.4688, allocations: 471.1 kB / 399.3 MB, free: 8.094 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001275/0.4689, allocations: 23.98 kB / 399.3 MB, free: 8.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006974/0.4759, allocations: 6.144 MB / 405.5 MB, free: 1.523 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.987e-06/0.476, allocations: 8.016 kB / 405.5 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005102/0.4811, allocations: 2.767 MB / 408.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001161/0.4823, allocations: 359.3 kB / 408.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005534/0.4828, allocations: 31.92 kB / 408.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001135/0.484, allocations: 67.92 kB / 408.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002652/0.4843, allocations: 72.89 kB / 408.8 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.259e-05/0.4844, allocations: 31.98 kB / 408.8 MB, free: 14.12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002075/0.4864, allocations: 0.9581 MB / 409.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.4864, allocations: 0 / 409.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002247/0.4887, allocations: 439.9 kB / 410.2 MB, free: 12.73 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.0005401/0.4893, allocations: 183 kB / 410.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003772/0.493, allocations: 2.001 MB / 412.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.4931, allocations: 0 / 412.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002316/0.4954, allocations: 1.339 MB / 413.7 MB, free: 9.117 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002697/0.4981, allocations: 372.7 kB / 414.1 MB, free: 8.754 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009418/0.5075, allocations: 4.842 MB / 418.9 MB, free: 3.863 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002548/0.5101, allocations: 1.689 MB / 420.6 MB, free: 2.141 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001366/0.5115, allocations: 316 kB / 420.9 MB, free: 1.828 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004257/0.5119, allocations: 91.42 kB / 421 MB, free: 1.738 MB / 350.1 MB Notification: Performance of SimCode: time 1.413e-06/0.512, allocations: 0 / 421 MB, free: 1.738 MB / 350.1 MB Notification: Performance of Templates: time 0.04653/0.5585, allocations: 23.11 MB / 444.1 MB, free: 10.59 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)