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.00192/0.00192, allocations: 95.53 kB / 16.31 MB, free: 6.457 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.002374/0.002374, allocations: 175 kB / 17.19 MB, free: 6.348 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.932/1.932, allocations: 205.4 MB / 223.4 MB, free: 13.18 MB / 190.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.0005871/0.0005874, allocations: 12 kB / 280.1 MB, free: 3.75 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1637, allocations: 47.58 MB / 327.7 MB, free: 4.102 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses): time 0.01222/0.176, allocations: 7.814 MB / 335.5 MB, free: 12.25 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008849/0.1849, allocations: 3.331 MB / 338.8 MB, free: 8.914 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002075/0.187, allocations: 39.81 kB / 338.9 MB, free: 8.875 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002681/0.1897, allocations: 0.552 MB / 339.4 MB, free: 8.32 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004148/0.1939, allocations: 0.6971 MB / 340.1 MB, free: 7.621 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00189/0.1958, allocations: 319.3 kB / 340.4 MB, free: 7.309 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004854/0.2007, allocations: 1.739 MB / 342.2 MB, free: 5.562 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00279/0.2035, allocations: 1.28 MB / 343.5 MB, free: 4.25 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001936/0.2055, allocations: 0.8407 MB / 344.3 MB, free: 3.406 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002457/0.208, allocations: 1.105 MB / 345.4 MB, free: 2.297 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007571/0.2087, allocations: 136 kB / 345.5 MB, free: 2.164 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001571/0.2103, allocations: 335.6 kB / 345.9 MB, free: 1.836 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001449/0.2118, allocations: 0.7868 MB / 346.7 MB, free: 1.047 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001424/0.2132, allocations: 0.508 MB / 347.2 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00488/0.2181, allocations: 3.347 MB / 350.5 MB, free: 13.18 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.2182, allocations: 0 / 350.5 MB, free: 13.18 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.2182, allocations: 0 / 350.5 MB, free: 13.18 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002093/0.2184, allocations: 0 / 350.5 MB, free: 13.18 MB / 302.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.007999/0.2264, allocations: 2.706 MB / 353.2 MB, free: 10.4 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.2265, allocations: 8.031 kB / 353.2 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001695/0.2282, allocations: 324.3 kB / 353.5 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005675/0.2339, allocations: 1.549 MB / 355.1 MB, free: 8.473 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002167/0.2341, allocations: 152 kB / 355.2 MB, free: 8.32 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008199/0.235, allocations: 207.9 kB / 355.4 MB, free: 8.117 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005763/0.2408, allocations: 2.663 MB / 358.1 MB, free: 5.375 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.316e-05/0.2409, allocations: 4 kB / 358.1 MB, free: 5.371 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002186/0.2411, allocations: 91.92 kB / 358.2 MB, free: 5.281 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001488/0.2413, allocations: 103.9 kB / 358.3 MB, free: 5.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004712/0.246, allocations: 2.26 MB / 360.6 MB, free: 2.918 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01632/0.2624, allocations: 8.189 MB / 368.8 MB, free: 10.53 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00301/0.2654, allocations: 1.6 MB / 370.4 MB, free: 8.867 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000363/0.2658, allocations: 131.3 kB / 370.5 MB, free: 8.723 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.828e-05/0.2659, allocations: 43.56 kB / 370.5 MB, free: 8.672 MB / 318.1 MB Notification: Performance of pre-optimization done (n=116): time 4.879e-06/0.2659, allocations: 0 / 370.5 MB, free: 8.672 MB / 318.1 MB Notification: Performance of matching and sorting (n=132): time 0.01435/0.2803, allocations: 6.457 MB / 377 MB, free: 2.074 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.765e-05/0.2804, allocations: 68.66 kB / 377 MB, free: 1.996 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2299/0.5103, allocations: 2.1 MB / 379.1 MB, free: 49.72 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004444/0.5108, allocations: 48.08 kB / 379.2 MB, free: 49.69 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001274/0.5121, allocations: 1.099 MB / 380.3 MB, free: 49.54 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005899/0.5127, allocations: 459.4 kB / 380.7 MB, free: 49.3 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.5128, allocations: 26.34 kB / 380.8 MB, free: 49.3 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.513, allocations: 359.7 kB / 381.1 MB, free: 49 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001746/0.5148, allocations: 0.7602 MB / 381.9 MB, free: 48.91 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001623/0.5164, allocations: 1.009 MB / 382.9 MB, free: 48.38 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001443/0.5179, allocations: 0.8869 MB / 383.8 MB, free: 48.04 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.727e-06/0.5179, allocations: 5.578 kB / 383.8 MB, free: 48.04 MB / 318.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.006856/0.5247, allocations: 2.781 MB / 386.6 MB, free: 47.03 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.331e-05/0.5248, allocations: 7.719 kB / 386.6 MB, free: 47.03 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.688e-05/0.5248, allocations: 6.188 kB / 386.6 MB, free: 47.03 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002496/0.5273, allocations: 0.8138 MB / 387.4 MB, free: 46.82 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/0.5285, allocations: 272.5 kB / 387.7 MB, free: 46.8 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01191/0.5405, allocations: 9.287 MB / 396.9 MB, free: 41.47 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001512/0.542, allocations: 96.5 kB / 397 MB, free: 41.45 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001557/0.5422, allocations: 57.94 kB / 397.1 MB, free: 41.44 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (124): * Single equations (assignments): 120 * 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%) 36} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001342/0.5436, allocations: 0.733 MB / 397.8 MB, free: 41.06 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003597/0.5439, allocations: 200.1 kB / 398 MB, free: 40.96 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003871/0.5478, allocations: 2.514 MB / 400.5 MB, free: 39.77 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.961e-05/0.5478, allocations: 15.12 kB / 400.5 MB, free: 39.77 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-05/0.5479, allocations: 6.688 kB / 400.6 MB, free: 39.77 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.33e-05/0.5479, allocations: 3.984 kB / 400.6 MB, free: 39.77 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008084/0.556, allocations: 4.891 MB / 405.5 MB, free: 36.35 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/0.556, allocations: 0 / 405.5 MB, free: 36.35 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009164/0.557, allocations: 223.8 kB / 405.7 MB, free: 36.13 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001643/0.5586, allocations: 0.6679 MB / 406.3 MB, free: 35.45 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.882e-05/0.5587, allocations: 35.98 kB / 406.4 MB, free: 35.42 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007442/0.5662, allocations: 8.325 MB / 414.7 MB, free: 26.72 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/0.5662, allocations: 8.016 kB / 414.7 MB, free: 26.71 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005786/0.572, allocations: 3.628 MB / 418.3 MB, free: 23 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001267/0.5733, allocations: 434.5 kB / 418.8 MB, free: 22.55 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000239/0.5736, allocations: 31.95 kB / 418.8 MB, free: 22.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009176/0.5745, allocations: 96.59 kB / 418.9 MB, free: 22.43 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003063/0.5748, allocations: 100.8 kB / 419 MB, free: 22.32 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.902e-05/0.5749, allocations: 39.11 kB / 419 MB, free: 22.29 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001918/0.5769, allocations: 1.476 MB / 420.5 MB, free: 20.79 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5769, allocations: 0 / 420.5 MB, free: 20.79 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002081/0.579, allocations: 0.5201 MB / 421 MB, free: 20.27 MB / 318.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 (94): * Single equations (assignments): 88 * 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%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001085/0.5801, allocations: 426.1 kB / 421.4 MB, free: 19.89 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004406/0.5845, allocations: 2.402 MB / 423.8 MB, free: 17.46 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.5845, allocations: 4 kB / 423.8 MB, free: 17.45 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002216/0.5867, allocations: 1.642 MB / 425.5 MB, free: 15.76 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001968/0.5887, allocations: 414.2 kB / 425.9 MB, free: 15.35 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008638/0.5974, allocations: 6.009 MB / 431.9 MB, free: 9.297 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001441/0.5989, allocations: 2.004 MB / 433.9 MB, free: 7.258 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001253/0.6001, allocations: 391.6 kB / 434.3 MB, free: 6.871 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002985/0.6004, allocations: 123.4 kB / 434.4 MB, free: 6.75 MB / 318.1 MB Notification: Performance of SimCode: time 1.472e-06/0.6004, allocations: 0 / 434.4 MB, free: 6.75 MB / 318.1 MB Notification: Performance of Templates: time 0.04687/0.6473, allocations: 26.97 MB / 461.4 MB, free: 11.75 MB / 350.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: