Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.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_YD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001646/0.001646, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002302/0.002302, allocations: 198.9 kB / 16.26 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.163/2.163, allocations: 205.1 MB / 222.1 MB, free: 4.613 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.001475/0.001475, allocations: 51.92 kB / 278.2 MB, free: 12.54 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.3634, allocations: 46.63 MB / 324.9 MB, free: 1.918 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.01645/0.3799, allocations: 9.685 MB / 334.5 MB, free: 10.29 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01104/0.3911, allocations: 3.094 MB / 337.6 MB, free: 7.262 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004687/0.3958, allocations: 47.75 kB / 337.7 MB, free: 7.215 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003752/0.3998, allocations: 0.5905 MB / 338.3 MB, free: 6.621 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005781/0.4056, allocations: 0.7461 MB / 339 MB, free: 5.871 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002108/0.4077, allocations: 351.6 kB / 339.4 MB, free: 5.527 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.007162/0.4149, allocations: 3.09 MB / 342.5 MB, free: 2.422 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004387/0.4194, allocations: 2.389 MB / 344.8 MB, free: 15.97 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003771/0.4232, allocations: 1.374 MB / 346.2 MB, free: 14.59 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004614/0.4279, allocations: 1.736 MB / 348 MB, free: 12.85 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001541/0.4294, allocations: 364 kB / 348.3 MB, free: 12.5 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002002/0.4315, allocations: 455.8 kB / 348.8 MB, free: 12.05 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001387/0.4329, allocations: 0.9935 MB / 349.7 MB, free: 11.05 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003821/0.4367, allocations: 1.602 MB / 351.3 MB, free: 9.445 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007638/0.4444, allocations: 4.662 MB / 356 MB, free: 4.77 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.121e-05/0.4445, allocations: 4 kB / 356 MB, free: 4.766 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.566e-06/0.4445, allocations: 0 / 356 MB, free: 4.766 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0002382/0.4447, allocations: 0 / 356 MB, free: 4.766 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: 592 * Number of variables: 592 Notification: Performance of Generate backend data structure: time 0.0111/0.4558, allocations: 3.217 MB / 359.2 MB, free: 1.484 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.777e-05/0.456, allocations: 11.89 kB / 359.2 MB, free: 1.473 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001237/0.4572, allocations: 325.3 kB / 359.6 MB, free: 1.152 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003899/0.4611, allocations: 1.627 MB / 361.2 MB, free: 15.47 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001805/0.4613, allocations: 168.9 kB / 361.4 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003962/0.4617, allocations: 231.8 kB / 361.6 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007064/0.4688, allocations: 3.188 MB / 364.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.479e-05/0.469, allocations: 3.938 kB / 364.8 MB, free: 11.78 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002336/0.4692, allocations: 96 kB / 364.9 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001526/0.4694, allocations: 108.4 kB / 365 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005831/0.4752, allocations: 2.734 MB / 367.7 MB, free: 8.828 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02414/0.4994, allocations: 9.883 MB / 377.6 MB, free: 14.67 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003285/0.5028, allocations: 2.103 MB / 379.7 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002369/0.5052, allocations: 1.191 MB / 380.9 MB, free: 11.27 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003522/0.5056, allocations: 130 kB / 381 MB, free: 11.12 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.931e-05/0.5057, allocations: 51.5 kB / 381.1 MB, free: 11.06 MB / 318.1 MB Notification: Performance of pre-optimization done (n=126): time 5.721e-06/0.5057, allocations: 0 / 381.1 MB, free: 11.06 MB / 318.1 MB Notification: Performance of matching and sorting (n=142): time 0.02175/0.5274, allocations: 8.005 MB / 389.1 MB, free: 2.93 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.5276, allocations: 68.72 kB / 389.1 MB, free: 2.848 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003616/0.5313, allocations: 1.672 MB / 390.8 MB, free: 1.168 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003145/0.5316, allocations: 49.7 kB / 390.8 MB, free: 1.113 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001008/0.5326, allocations: 1.093 MB / 391.9 MB, free: 4 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005521/0.5332, allocations: 485.2 kB / 392.4 MB, free: 15.52 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005963/0.5338, allocations: 295.3 kB / 392.7 MB, free: 15.23 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002167/0.534, allocations: 301.1 kB / 393 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001692/0.5357, allocations: 0.9096 MB / 393.9 MB, free: 14.02 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001877/0.5376, allocations: 1.263 MB / 395.2 MB, free: 12.61 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003449/0.5411, allocations: 2.254 MB / 397.4 MB, free: 10.22 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/0.5411, allocations: 4 kB / 397.4 MB, free: 10.21 MB / 334.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.006625/0.5477, allocations: 3.041 MB / 400.5 MB, free: 7.148 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.143e-05/0.5479, allocations: 8 kB / 400.5 MB, free: 7.141 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.279e-05/0.5479, allocations: 12 kB / 400.5 MB, free: 7.129 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00275/0.5507, allocations: 0.8561 MB / 401.3 MB, free: 6.258 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001661/0.5524, allocations: 299.5 kB / 401.6 MB, free: 5.965 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01557/0.568, allocations: 9.919 MB / 411.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002598/0.5707, allocations: 99.84 kB / 411.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004414/0.5711, allocations: 60 kB / 411.7 MB, free: 11.47 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepYD[3].y,booleanStepYD[2].y,booleanStepYD[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (155): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (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%), (9,19,33.3%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002963/0.5741, allocations: 0.8096 MB / 412.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009549/0.5751, allocations: 185.7 kB / 412.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005695/0.5808, allocations: 2.846 MB / 415.5 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.815e-05/0.5808, allocations: 12 kB / 415.6 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.971e-05/0.5809, allocations: 12 kB / 415.6 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.92e-05/0.5809, allocations: 3.984 kB / 415.6 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01266/0.5935, allocations: 5.686 MB / 421.3 MB, free: 1.762 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.319e-05/0.5937, allocations: 0 / 421.3 MB, free: 1.762 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009241/0.5946, allocations: 199.7 kB / 421.5 MB, free: 1.566 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002523/0.5971, allocations: 0.8902 MB / 422.3 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001356/0.5973, allocations: 39.98 kB / 422.4 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01616/0.6134, allocations: 11.53 MB / 433.9 MB, free: 4.527 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.264e-05/0.6135, allocations: 8.016 kB / 433.9 MB, free: 4.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008177/0.6217, allocations: 4.148 MB / 438.1 MB, free: 316 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001773/0.6236, allocations: 459.1 kB / 438.5 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000313/0.6239, allocations: 31.98 kB / 438.6 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/0.6249, allocations: 79.91 kB / 438.6 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000583/0.6255, allocations: 145 kB / 438.8 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001453/0.6257, allocations: 51.86 kB / 438.8 MB, free: 15.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00233/0.628, allocations: 1.153 MB / 440 MB, free: 14.39 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.12e-07/0.628, allocations: 0 / 440 MB, free: 14.39 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003074/0.6311, allocations: 0.5547 MB / 440.5 MB, free: 13.83 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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],quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,1,100.0%), (9,19,33.3%), (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.0006689/0.6318, allocations: 191 kB / 440.7 MB, free: 13.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.008078/0.6399, allocations: 3.642 MB / 444.4 MB, free: 9.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.445e-05/0.64, allocations: 0 / 444.4 MB, free: 9.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004023/0.644, allocations: 2.042 MB / 446.4 MB, free: 7.801 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003485/0.6475, allocations: 0.4896 MB / 446.9 MB, free: 7.309 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01372/0.6613, allocations: 6.222 MB / 453.1 MB, free: 1.023 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3761/1.038, allocations: 2.016 MB / 455.1 MB, free: 111.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.004042/1.042, allocations: 405.1 kB / 455.5 MB, free: 111.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009344/1.043, allocations: 115.8 kB / 455.6 MB, free: 111.1 MB / 382.1 MB Notification: Performance of SimCode: time 2.455e-06/1.043, allocations: 2.938 kB / 455.6 MB, free: 111.1 MB / 382.1 MB Notification: Performance of Templates: time 0.09918/1.142, allocations: 32.66 MB / 488.3 MB, free: 87.06 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe 2>&1)