Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.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_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009915/0.0009914, allocations: 86.66 kB / 16.31 MB, free: 5.633 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.001068/0.001068, allocations: 181 kB / 17.2 MB, free: 5.555 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.746/1.746, allocations: 205.4 MB / 223.4 MB, free: 5.531 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.0005549/0.0005553, allocations: 16 kB / 280.2 MB, free: 12.81 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2905, allocations: 47.58 MB / 327.7 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses): time 0.0112/0.3018, allocations: 8.496 MB / 336.2 MB, free: 10.79 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01041/0.3122, allocations: 3.279 MB / 339.5 MB, free: 7.707 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002675/0.3149, allocations: 35.81 kB / 339.6 MB, free: 7.672 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002849/0.3178, allocations: 0.5321 MB / 340.1 MB, free: 7.137 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004258/0.3221, allocations: 0.7071 MB / 340.8 MB, free: 6.426 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001928/0.3241, allocations: 311.5 kB / 341.1 MB, free: 6.121 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.005285/0.3294, allocations: 2.736 MB / 343.8 MB, free: 3.371 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003169/0.3325, allocations: 1.28 MB / 345.1 MB, free: 2.059 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002529/0.3351, allocations: 0.9259 MB / 346 MB, free: 1.129 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003061/0.3382, allocations: 1.327 MB / 347.4 MB, free: 15.8 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008442/0.339, allocations: 136 kB / 347.5 MB, free: 15.66 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001664/0.3407, allocations: 335.7 kB / 347.8 MB, free: 15.34 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001459/0.3422, allocations: 0.7866 MB / 348.6 MB, free: 14.55 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001319/0.3435, allocations: 0.5236 MB / 349.1 MB, free: 14.02 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004626/0.3482, allocations: 3.378 MB / 352.5 MB, free: 10.63 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.3482, allocations: 0 / 352.5 MB, free: 10.63 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.3482, allocations: 0 / 352.5 MB, free: 10.63 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001726/0.3484, allocations: 0 / 352.5 MB, free: 10.63 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.007501/0.3559, allocations: 2.718 MB / 355.2 MB, free: 7.844 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.356, allocations: 11.97 kB / 355.2 MB, free: 7.832 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001549/0.3575, allocations: 324.3 kB / 355.6 MB, free: 7.512 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003797/0.3613, allocations: 1.526 MB / 357.1 MB, free: 5.934 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001476/0.3615, allocations: 152 kB / 357.2 MB, free: 5.781 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003368/0.3619, allocations: 203.9 kB / 357.4 MB, free: 5.582 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00515/0.3671, allocations: 2.694 MB / 360.1 MB, free: 2.809 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.535e-05/0.3672, allocations: 11.89 kB / 360.1 MB, free: 2.797 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001865/0.3673, allocations: 87.94 kB / 360.2 MB, free: 2.711 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001283/0.3675, allocations: 91.94 kB / 360.3 MB, free: 2.621 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004301/0.3718, allocations: 2.291 MB / 362.6 MB, free: 336 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0151/0.3869, allocations: 8.267 MB / 370.9 MB, free: 7.859 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003/0.39, allocations: 1.64 MB / 372.5 MB, free: 6.16 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00193/0.3919, allocations: 1.097 MB / 373.6 MB, free: 5.066 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003083/0.3923, allocations: 126 kB / 373.7 MB, free: 4.922 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.189e-05/0.3924, allocations: 47.56 kB / 373.8 MB, free: 4.867 MB / 302.1 MB Notification: Performance of pre-optimization done (n=116): time 5.02e-06/0.3924, allocations: 0 / 373.8 MB, free: 4.867 MB / 302.1 MB Notification: Performance of matching and sorting (n=132): time 0.01417/0.4065, allocations: 6.268 MB / 380 MB, free: 14.5 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.185e-05/0.4067, allocations: 68.66 kB / 380.1 MB, free: 14.42 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003557/0.4103, allocations: 2.145 MB / 382.3 MB, free: 12.23 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002322/0.4105, allocations: 45.7 kB / 382.3 MB, free: 12.18 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009765/0.4115, allocations: 1.104 MB / 383.4 MB, free: 11.06 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004886/0.412, allocations: 465.3 kB / 383.9 MB, free: 10.6 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.345e-05/0.4121, allocations: 28 kB / 383.9 MB, free: 10.57 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.4123, allocations: 361.9 kB / 384.2 MB, free: 10.21 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00142/0.4137, allocations: 0.7652 MB / 385 MB, free: 9.445 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001518/0.4152, allocations: 1.021 MB / 386 MB, free: 8.336 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00151/0.4168, allocations: 0.9003 MB / 386.9 MB, free: 7.434 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.4168, allocations: 4 kB / 386.9 MB, free: 7.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005346/0.4221, allocations: 2.769 MB / 389.7 MB, free: 4.641 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.188e-05/0.4222, allocations: 8 kB / 389.7 MB, free: 4.633 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.935e-05/0.4222, allocations: 11.94 kB / 389.7 MB, free: 4.621 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001985/0.4242, allocations: 0.7853 MB / 390.5 MB, free: 3.832 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/0.4254, allocations: 279.6 kB / 390.8 MB, free: 3.559 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01159/0.437, allocations: 8.739 MB / 399.5 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001696/0.4388, allocations: 95.89 kB / 399.6 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000253/0.439, allocations: 55.98 kB / 399.7 MB, free: 10.4 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (126): * Single equations (assignments): 122 * Array equations: 2 * 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%) 6,(6,88.9%) 33} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001739/0.4408, allocations: 0.7472 MB / 400.4 MB, free: 9.641 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000635/0.4414, allocations: 205.5 kB / 400.6 MB, free: 9.438 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005231/0.4467, allocations: 2.5 MB / 403.1 MB, free: 6.918 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.454e-05/0.4467, allocations: 16 kB / 403.1 MB, free: 6.902 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.391e-05/0.4468, allocations: 4 kB / 403.1 MB, free: 6.898 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.816e-05/0.4468, allocations: 11.97 kB / 403.1 MB, free: 6.887 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01098/0.4578, allocations: 4.956 MB / 408.1 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/0.4578, allocations: 0 / 408.1 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/0.4589, allocations: 227.9 kB / 408.3 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001838/0.4608, allocations: 0.6471 MB / 409 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001418/0.4609, allocations: 39.97 kB / 409 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01007/0.471, allocations: 7.906 MB / 416.9 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.4711, allocations: 0 / 416.9 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007499/0.4786, allocations: 3.566 MB / 420.5 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001522/0.4801, allocations: 438.5 kB / 420.9 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005892/0.4808, allocations: 35.98 kB / 420.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00133/0.4821, allocations: 95.89 kB / 421 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003316/0.4825, allocations: 100.8 kB / 421.1 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000124/0.4826, allocations: 47.98 kB / 421.2 MB, free: 4.262 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.003425/0.486, allocations: 1.504 MB / 422.7 MB, free: 2.734 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.486, allocations: 4 kB / 422.7 MB, free: 2.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002697/0.4887, allocations: 0.5274 MB / 423.2 MB, free: 2.203 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (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,PI.x) * 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 (97): * Single equations (assignments): 91 * Array equations: 2 * 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%) 6,(2,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001319/0.4901, allocations: 422.3 kB / 423.6 MB, free: 1.789 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004942/0.495, allocations: 2.392 MB / 426 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/0.4951, allocations: 0 / 426 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002847/0.4979, allocations: 1.614 MB / 427.6 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00318/0.5011, allocations: 438.5 kB / 428.1 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01112/0.5123, allocations: 6.012 MB / 434.1 MB, free: 7.211 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002789/0.5151, allocations: 1.951 MB / 436 MB, free: 5.223 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001835/0.5169, allocations: 391.6 kB / 436.4 MB, free: 4.836 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006377/0.5176, allocations: 127.4 kB / 436.5 MB, free: 4.711 MB / 366.1 MB Notification: Performance of SimCode: time 1.492e-06/0.5176, allocations: 0 / 436.5 MB, free: 4.711 MB / 366.1 MB Notification: Performance of Templates: time 0.3116/0.8292, allocations: 27.68 MB / 464.2 MB, free: 104.3 MB / 382.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe 2>&1)