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.007576/0.007576, allocations: 99.47 kB / 15.73 MB, free: 6.441 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.001497/0.001497, allocations: 199.3 kB / 16.67 MB, free: 6.352 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.958/1.958, allocations: 205.1 MB / 222.5 MB, free: 4.492 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.001197/0.001197, allocations: 54.36 kB / 326.6 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1266, allocations: 46.62 MB / 373.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.01296/0.1397, allocations: 9.774 MB / 382.9 MB, free: 7.488 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008553/0.1483, allocations: 3.136 MB / 386.1 MB, free: 4.34 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00208/0.1504, allocations: 47.81 kB / 386.1 MB, free: 4.293 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002321/0.1528, allocations: 0.6949 MB / 386.8 MB, free: 3.594 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003592/0.1564, allocations: 0.8622 MB / 387.7 MB, free: 2.727 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001132/0.1575, allocations: 387.5 kB / 388.1 MB, free: 2.348 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004486/0.162, allocations: 3.098 MB / 391.2 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002814/0.1649, allocations: 2.392 MB / 393.6 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002541/0.1674, allocations: 1.378 MB / 394.9 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002954/0.1704, allocations: 1.685 MB / 396.6 MB, free: 9.707 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006617/0.1711, allocations: 364 kB / 397 MB, free: 9.352 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001109/0.1722, allocations: 459.8 kB / 397.4 MB, free: 8.902 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001009/0.1732, allocations: 0.9895 MB / 398.4 MB, free: 7.91 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002206/0.1755, allocations: 1.606 MB / 400 MB, free: 6.297 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0055/0.181, allocations: 4.718 MB / 404.7 MB, free: 1.562 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.648e-06/0.181, allocations: 4 kB / 404.7 MB, free: 1.559 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.181, allocations: 7.938 kB / 404.8 MB, free: 1.551 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001363/0.1812, allocations: 0 / 404.8 MB, free: 1.551 MB / 334.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.009095/0.1903, allocations: 3.285 MB / 408 MB, free: 14.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.651e-05/0.1903, allocations: 15.83 kB / 408.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00099/0.1913, allocations: 339 kB / 408.4 MB, free: 13.85 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003453/0.1948, allocations: 1.652 MB / 410 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001533/0.195, allocations: 176.7 kB / 410.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003579/0.1953, allocations: 227.9 kB / 410.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006398/0.2017, allocations: 3.188 MB / 413.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.666e-05/0.2019, allocations: 3.953 kB / 413.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002357/0.2021, allocations: 95.94 kB / 413.7 MB, free: 8.359 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001513/0.2023, allocations: 104.4 kB / 413.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005176/0.2075, allocations: 2.742 MB / 416.6 MB, free: 5.496 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01758/0.225, allocations: 9.796 MB / 426.4 MB, free: 11.43 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002528/0.2276, allocations: 2.094 MB / 428.4 MB, free: 9.223 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001844/0.2295, allocations: 1.203 MB / 429.7 MB, free: 8.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002372/0.2297, allocations: 122.1 kB / 429.8 MB, free: 7.883 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.2298, allocations: 47.56 kB / 429.8 MB, free: 7.824 MB / 366.1 MB Notification: Performance of pre-optimization done (n=126): time 3.676e-06/0.2298, allocations: 3.984 kB / 429.8 MB, free: 7.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=142): time 0.01805/0.2478, allocations: 8.037 MB / 437.9 MB, free: 15.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/0.2479, allocations: 64.72 kB / 437.9 MB, free: 15.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002762/0.2507, allocations: 1.676 MB / 439.6 MB, free: 13.9 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001306/0.2508, allocations: 53.7 kB / 439.6 MB, free: 13.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008421/0.2517, allocations: 1.112 MB / 440.8 MB, free: 12.72 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004152/0.2521, allocations: 0.4997 MB / 441.3 MB, free: 12.21 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004795/0.2526, allocations: 295.5 kB / 441.5 MB, free: 11.92 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.2527, allocations: 301.1 kB / 441.8 MB, free: 11.62 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001408/0.2542, allocations: 0.9095 MB / 442.8 MB, free: 10.71 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001641/0.2558, allocations: 1.275 MB / 444 MB, free: 9.289 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003011/0.2588, allocations: 2.25 MB / 446.3 MB, free: 6.898 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/0.2589, allocations: 7.938 kB / 446.3 MB, free: 6.891 MB / 382.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.005245/0.2641, allocations: 3.042 MB / 449.3 MB, free: 3.824 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/0.2641, allocations: 12.03 kB / 449.3 MB, free: 3.812 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.187e-05/0.2642, allocations: 12 kB / 449.4 MB, free: 3.801 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002015/0.2662, allocations: 0.8362 MB / 450.2 MB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/0.2673, allocations: 311.5 kB / 450.5 MB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3681/0.6354, allocations: 9.906 MB / 460.4 MB, free: 65.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002529/0.638, allocations: 94.72 kB / 460.5 MB, free: 65.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003699/0.6384, allocations: 63.19 kB / 460.6 MB, free: 65.31 MB / 382.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.002911/0.6413, allocations: 0.8141 MB / 461.4 MB, free: 64.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009502/0.6422, allocations: 195.3 kB / 461.6 MB, free: 64.9 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007788/0.65, allocations: 2.837 MB / 464.4 MB, free: 63.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.844e-05/0.6501, allocations: 14.78 kB / 464.4 MB, free: 63.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.911e-05/0.6502, allocations: 6.25 kB / 464.4 MB, free: 63.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-05/0.6502, allocations: 9.609 kB / 464.4 MB, free: 63.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01493/0.6651, allocations: 5.659 MB / 470.1 MB, free: 61.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.554e-05/0.6652, allocations: 4.562 kB / 470.1 MB, free: 61.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009782/0.6662, allocations: 193.8 kB / 470.3 MB, free: 61.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002539/0.6688, allocations: 0.9082 MB / 471.2 MB, free: 61.29 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001582/0.6689, allocations: 39.55 kB / 471.2 MB, free: 61.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01182/0.6808, allocations: 11.53 MB / 482.8 MB, free: 52.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.6808, allocations: 3.781 kB / 482.8 MB, free: 52.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006829/0.6877, allocations: 4.163 MB / 486.9 MB, free: 49.03 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001754/0.6895, allocations: 477.6 kB / 487.4 MB, free: 48.54 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003542/0.6899, allocations: 32 kB / 487.4 MB, free: 48.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/0.6909, allocations: 75.91 kB / 487.5 MB, free: 48.44 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005605/0.6915, allocations: 141.1 kB / 487.6 MB, free: 48.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001045/0.6916, allocations: 43.98 kB / 487.7 MB, free: 48.26 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001974/0.6936, allocations: 1.149 MB / 488.8 MB, free: 47.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6936, allocations: 0 / 488.8 MB, free: 47.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003157/0.6968, allocations: 0.5644 MB / 489.4 MB, free: 46.55 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.0006452/0.6974, allocations: 196.7 kB / 489.6 MB, free: 46.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005801/0.7033, allocations: 3.011 MB / 492.6 MB, free: 43.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.124e-05/0.7033, allocations: 0 / 492.6 MB, free: 43.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003521/0.7069, allocations: 2.035 MB / 494.6 MB, free: 41.17 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004434/0.7113, allocations: 0.5087 MB / 495.1 MB, free: 40.69 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01258/0.724, allocations: 5.224 MB / 0.4886 GB, free: 35.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001854/0.7259, allocations: 2.024 MB / 0.4906 GB, free: 33.38 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001549/0.7275, allocations: 407.3 kB / 0.491 GB, free: 32.97 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003432/0.7278, allocations: 115.4 kB / 0.4911 GB, free: 32.86 MB / 382.1 MB Notification: Performance of SimCode: time 1.493e-06/0.7278, allocations: 0 / 0.4911 GB, free: 32.86 MB / 382.1 MB Notification: Performance of Templates: time 0.06719/0.795, allocations: 33.22 MB / 0.5235 GB, free: 15.6 MB / 398.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)