Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001293/0.001293, 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.00234/0.00234, allocations: 193.1 kB / 16.13 MB, free: 6.668 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.976/1.976, allocations: 205.1 MB / 222 MB, free: 4.746 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.001474/0.001474, allocations: 56.34 kB / 278.1 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3748/0.3763, allocations: 46.63 MB / 324.7 MB, free: 1.934 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses): time 0.0157/0.392, allocations: 9.542 MB / 334.2 MB, free: 10.42 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01025/0.4024, allocations: 3.47 MB / 337.7 MB, free: 7.113 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003475/0.4059, allocations: 39.81 kB / 337.7 MB, free: 7.074 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003593/0.4097, allocations: 0.5788 MB / 338.3 MB, free: 6.492 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005124/0.4149, allocations: 0.75 MB / 339.1 MB, free: 5.738 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001967/0.4168, allocations: 407.5 kB / 339.5 MB, free: 5.34 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.005819/0.4227, allocations: 3.048 MB / 342.5 MB, free: 2.277 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003842/0.4266, allocations: 1.485 MB / 344 MB, free: 0.75 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003085/0.4297, allocations: 1.031 MB / 345 MB, free: 15.71 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004211/0.434, allocations: 1.506 MB / 346.5 MB, free: 14.2 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001693/0.4357, allocations: 192 kB / 346.7 MB, free: 14.02 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002866/0.4386, allocations: 463.5 kB / 347.2 MB, free: 13.56 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002005/0.4407, allocations: 0.8683 MB / 348 MB, free: 12.69 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005829/0.4465, allocations: 1.36 MB / 349.4 MB, free: 11.32 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00834/0.4549, allocations: 4.135 MB / 353.5 MB, free: 7.176 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.055e-05/0.455, allocations: 4 kB / 353.5 MB, free: 7.172 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.809e-06/0.455, allocations: 4 kB / 353.5 MB, free: 7.168 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0002406/0.4552, allocations: 0 / 353.5 MB, free: 7.168 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.01285/0.4681, allocations: 3.15 MB / 356.7 MB, free: 3.949 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.355e-05/0.4682, allocations: 12.03 kB / 356.7 MB, free: 3.938 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0025/0.4707, allocations: 325.2 kB / 357 MB, free: 3.617 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006007/0.4768, allocations: 1.603 MB / 358.6 MB, free: 1.961 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002771/0.4771, allocations: 156 kB / 358.8 MB, free: 1.805 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00115/0.4783, allocations: 203.9 kB / 359 MB, free: 1.605 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01079/0.4891, allocations: 2.698 MB / 361.7 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001724/0.4893, allocations: 8 kB / 361.7 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008819/0.4903, allocations: 80 kB / 361.8 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000253/0.4905, allocations: 95.92 kB / 361.9 MB, free: 14.65 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007409/0.498, allocations: 2.276 MB / 364.1 MB, free: 12.37 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02593/0.5239, allocations: 8.236 MB / 372.4 MB, free: 3.934 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004244/0.5282, allocations: 1.63 MB / 374 MB, free: 2.242 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002478/0.5307, allocations: 1.094 MB / 375.1 MB, free: 1.148 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003697/0.5311, allocations: 122.1 kB / 375.2 MB, free: 1.008 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.882e-05/0.5312, allocations: 51.44 kB / 375.3 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of pre-optimization done (n=116): time 4.068e-06/0.5312, allocations: 4 kB / 375.3 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of matching and sorting (n=132): time 0.01772/0.549, allocations: 6.206 MB / 381.5 MB, free: 10.64 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.903e-05/0.5491, allocations: 64.72 kB / 381.5 MB, free: 10.56 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005055/0.5542, allocations: 2.156 MB / 383.7 MB, free: 8.355 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004172/0.5547, allocations: 49.7 kB / 383.7 MB, free: 8.301 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00123/0.5559, allocations: 1.104 MB / 384.8 MB, free: 7.184 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008633/0.5568, allocations: 461.3 kB / 385.3 MB, free: 6.727 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000724/0.5575, allocations: 239.5 kB / 385.5 MB, free: 6.484 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001942/0.5578, allocations: 357.9 kB / 385.9 MB, free: 6.129 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001663/0.5594, allocations: 0.7535 MB / 386.6 MB, free: 5.375 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001807/0.5613, allocations: 1.013 MB / 387.6 MB, free: 4.273 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003477/0.5648, allocations: 1.865 MB / 389.5 MB, free: 2.32 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.218e-05/0.5648, allocations: 0 / 389.5 MB, free: 2.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.006822/0.5716, allocations: 2.769 MB / 392.3 MB, free: 15.54 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.371e-05/0.5717, allocations: 8 kB / 392.3 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-05/0.5718, allocations: 8.25 kB / 392.3 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002808/0.5746, allocations: 0.7847 MB / 393.1 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001626/0.5763, allocations: 275.5 kB / 393.3 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01421/0.5905, allocations: 8.751 MB / 402.1 MB, free: 5.441 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00209/0.5927, allocations: 99.77 kB / 402.2 MB, free: 5.344 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003741/0.5931, allocations: 51.98 kB / 402.2 MB, free: 5.293 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.002256/0.5953, allocations: 0.7322 MB / 403 MB, free: 4.551 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008133/0.5962, allocations: 205.6 kB / 403.2 MB, free: 4.348 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00602/0.6022, allocations: 2.488 MB / 405.7 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.412e-05/0.6023, allocations: 19.98 kB / 405.7 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.435e-05/0.6023, allocations: 4 kB / 405.7 MB, free: 1.809 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.128e-05/0.6024, allocations: 7.984 kB / 405.7 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01256/0.6149, allocations: 4.944 MB / 410.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.909e-05/0.615, allocations: 3.984 kB / 410.6 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/0.6161, allocations: 211.7 kB / 410.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001921/0.6181, allocations: 0.6512 MB / 411.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001465/0.6182, allocations: 39.97 kB / 411.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009577/0.6278, allocations: 7.909 MB / 419.5 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.438e-06/0.6279, allocations: 4.031 kB / 419.5 MB, free: 3.531 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007162/0.635, allocations: 3.534 MB / 423 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001544/0.6366, allocations: 450.3 kB / 423.4 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003239/0.637, allocations: 28 kB / 423.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/0.638, allocations: 87.89 kB / 423.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003561/0.6384, allocations: 100.8 kB / 423.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001053/0.6385, allocations: 35.98 kB / 423.7 MB, free: 15.24 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002614/0.6412, allocations: 1.523 MB / 425.2 MB, free: 13.69 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.6412, allocations: 3.938 kB / 425.2 MB, free: 13.69 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002784/0.644, allocations: 0.5195 MB / 425.7 MB, free: 13.17 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.001553/0.6455, allocations: 463.5 kB / 426.2 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004733/0.6503, allocations: 2.377 MB / 428.6 MB, free: 10.31 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/0.6503, allocations: 4.062 kB / 428.6 MB, free: 10.31 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002833/0.6532, allocations: 1.597 MB / 430.2 MB, free: 8.648 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002802/0.656, allocations: 426.3 kB / 430.6 MB, free: 8.227 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01096/0.667, allocations: 6.134 MB / 436.7 MB, free: 2.047 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001995/0.669, allocations: 1.943 MB / 438.7 MB, free: 68 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00161/0.6707, allocations: 391.6 kB / 439 MB, free: 15.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004165/0.6711, allocations: 135.3 kB / 439.2 MB, free: 15.55 MB / 382.1 MB Notification: Performance of SimCode: time 1.863e-06/0.6711, allocations: 0 / 439.2 MB, free: 15.55 MB / 382.1 MB Notification: Performance of Templates: time 0.3076/0.9787, allocations: 28.94 MB / 468.1 MB, free: 106.4 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe 2>&1)