Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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.1_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.1_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.001088/0.001088, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.01175/0.01175, allocations: 171.2 kB / 16.26 MB, free: 6.613 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.991/1.991, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.0005211/0.0005214, allocations: 12 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3782/0.3787, allocations: 47.58 MB / 327 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses): time 0.0147/0.3935, allocations: 9.028 MB / 336.1 MB, free: 10.3 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01244/0.4061, allocations: 3.413 MB / 339.5 MB, free: 6.883 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003431/0.4096, allocations: 43.81 kB / 339.5 MB, free: 6.84 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003745/0.4133, allocations: 0.5788 MB / 340.1 MB, free: 6.258 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005401/0.4188, allocations: 0.75 MB / 340.9 MB, free: 5.504 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001744/0.4206, allocations: 407.4 kB / 341.3 MB, free: 5.105 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.005462/0.426, allocations: 3.048 MB / 344.3 MB, free: 2.043 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002193/0.4283, allocations: 1.466 MB / 345.8 MB, free: 0.5352 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001984/0.4303, allocations: 0.9218 MB / 346.7 MB, free: 15.61 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002342/0.4326, allocations: 1.369 MB / 348.1 MB, free: 14.23 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003527/0.433, allocations: 140 kB / 348.2 MB, free: 14.1 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001175/0.4342, allocations: 403.4 kB / 348.6 MB, free: 13.7 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009396/0.4352, allocations: 0.7825 MB / 349.4 MB, free: 12.92 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001709/0.4369, allocations: 1.295 MB / 350.7 MB, free: 11.61 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004724/0.4416, allocations: 4.029 MB / 354.7 MB, free: 7.566 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.4417, allocations: 0 / 354.7 MB, free: 7.566 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.366e-06/0.4417, allocations: 0 / 354.7 MB, free: 7.566 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001365/0.4418, allocations: 4 kB / 354.7 MB, free: 7.562 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.006595/0.4484, allocations: 2.683 MB / 357.4 MB, free: 4.812 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.763e-05/0.4485, allocations: 16.02 kB / 357.4 MB, free: 4.797 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001247/0.4498, allocations: 325.3 kB / 357.7 MB, free: 4.477 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003212/0.453, allocations: 1.6 MB / 359.3 MB, free: 2.824 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001442/0.4531, allocations: 152 kB / 359.5 MB, free: 2.672 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004462/0.4536, allocations: 207.9 kB / 359.7 MB, free: 2.469 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00568/0.4593, allocations: 2.714 MB / 362.4 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.363e-05/0.4594, allocations: 7.906 kB / 362.4 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002071/0.4596, allocations: 83.98 kB / 362.5 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001252/0.4597, allocations: 95.88 kB / 362.6 MB, free: 15.49 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004859/0.4646, allocations: 2.299 MB / 364.9 MB, free: 13.19 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02093/0.4856, allocations: 8.271 MB / 373.1 MB, free: 4.719 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005256/0.491, allocations: 1.647 MB / 374.8 MB, free: 3.012 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002543/0.4936, allocations: 1.101 MB / 375.9 MB, free: 1.91 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003596/0.494, allocations: 134 kB / 376 MB, free: 1.758 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.544e-05/0.494, allocations: 55.5 kB / 376.1 MB, free: 1.695 MB / 302.1 MB Notification: Performance of pre-optimization done (n=116): time 5.37e-06/0.4941, allocations: 0 / 376.1 MB, free: 1.695 MB / 302.1 MB Notification: Performance of matching and sorting (n=132): time 0.01633/0.5104, allocations: 6.276 MB / 382.3 MB, free: 11.31 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.787e-05/0.5105, allocations: 64.72 kB / 382.4 MB, free: 11.23 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003773/0.5143, allocations: 2.156 MB / 384.6 MB, free: 9.031 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002803/0.5146, allocations: 45.7 kB / 384.6 MB, free: 8.98 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001021/0.5157, allocations: 1.108 MB / 385.7 MB, free: 7.859 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005502/0.5162, allocations: 457.3 kB / 386.2 MB, free: 7.406 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002039/0.5164, allocations: 113.7 kB / 386.3 MB, free: 7.289 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002045/0.5166, allocations: 365.8 kB / 386.6 MB, free: 6.926 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001536/0.5182, allocations: 0.7691 MB / 387.4 MB, free: 6.156 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001602/0.5198, allocations: 1.021 MB / 388.4 MB, free: 5.047 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003072/0.5229, allocations: 1.896 MB / 390.3 MB, free: 3.062 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.5229, allocations: 0 / 390.3 MB, free: 3.062 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005569/0.5285, allocations: 2.784 MB / 393.1 MB, free: 264 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.378e-05/0.5286, allocations: 8.25 kB / 393.1 MB, free: 256 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.812e-05/0.5286, allocations: 11.94 kB / 393.1 MB, free: 244 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002187/0.5308, allocations: 0.7811 MB / 393.9 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/0.532, allocations: 279.6 kB / 394.2 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01163/0.5437, allocations: 8.75 MB / 402.9 MB, free: 6.156 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001836/0.5456, allocations: 107.8 kB / 403 MB, free: 6.051 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003018/0.5459, allocations: 51.98 kB / 403.1 MB, free: 6 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 (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,6,100.0%), (6,33,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00189/0.5478, allocations: 0.7395 MB / 403.8 MB, free: 5.25 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007196/0.5485, allocations: 209.5 kB / 404 MB, free: 5.043 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005218/0.5538, allocations: 2.523 MB / 406.5 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.602e-05/0.5539, allocations: 16 kB / 406.6 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.5539, allocations: 4 kB / 406.6 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.536e-05/0.5539, allocations: 3.984 kB / 406.6 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01077/0.5647, allocations: 4.975 MB / 411.5 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.651e-05/0.5648, allocations: 0 / 411.5 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001218/0.566, allocations: 227.8 kB / 411.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002218/0.5683, allocations: 0.6511 MB / 412.4 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002319/0.5685, allocations: 31.98 kB / 412.5 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01081/0.5793, allocations: 7.929 MB / 420.4 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/0.5794, allocations: 0 / 420.4 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007681/0.5871, allocations: 3.565 MB / 423.9 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001529/0.5887, allocations: 454.4 kB / 424.4 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003789/0.5891, allocations: 27.98 kB / 424.4 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/0.5901, allocations: 96.05 kB / 424.5 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003273/0.5905, allocations: 100.8 kB / 424.6 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/0.5906, allocations: 47.92 kB / 424.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002301/0.5929, allocations: 1.519 MB / 426.2 MB, free: 14.26 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5929, allocations: 0 / 426.2 MB, free: 14.26 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002876/0.5958, allocations: 0.5234 MB / 426.7 MB, free: 13.73 MB / 366.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 (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,6,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001428/0.5972, allocations: 450.5 kB / 427.1 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005169/0.6024, allocations: 2.412 MB / 429.5 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.6025, allocations: 0 / 429.5 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003176/0.6057, allocations: 1.612 MB / 431.2 MB, free: 9.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003194/0.6089, allocations: 430.3 kB / 431.6 MB, free: 8.754 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01102/0.6199, allocations: 6.276 MB / 437.9 MB, free: 2.434 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00178/0.6218, allocations: 1.947 MB / 439.8 MB, free: 460 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001577/0.6234, allocations: 395.7 kB / 440.2 MB, free: 60 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004958/0.6239, allocations: 127.5 kB / 440.3 MB, free: 15.93 MB / 382.1 MB Notification: Performance of SimCode: time 1.653e-06/0.6239, allocations: 0 / 440.3 MB, free: 15.93 MB / 382.1 MB Notification: Performance of Templates: time 0.2865/0.9104, allocations: 28.38 MB / 468.7 MB, free: 106.1 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe 2>&1)