Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.007877/0.007877, allocations: 95.77 kB / 15.73 MB, free: 6.039 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.001336/0.001336, allocations: 197.9 kB / 16.68 MB, free: 5.969 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.876/1.876, allocations: 205.1 MB / 222.6 MB, free: 4.523 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.001467/0.001467, allocations: 58.11 kB / 326.6 MB, free: 14.34 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1572, allocations: 46.61 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.01438/0.1716, allocations: 9.758 MB / 382.9 MB, free: 7.508 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01011/0.1818, allocations: 3.144 MB / 386.1 MB, free: 4.352 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003177/0.185, allocations: 43.81 kB / 386.1 MB, free: 4.309 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003321/0.1885, allocations: 0.6636 MB / 386.8 MB, free: 3.641 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005169/0.1937, allocations: 0.8193 MB / 387.6 MB, free: 2.816 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001778/0.1955, allocations: 387.5 kB / 388 MB, free: 2.438 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006164/0.2016, allocations: 3.105 MB / 391.1 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003559/0.2052, allocations: 2.392 MB / 393.5 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003096/0.2084, allocations: 1.367 MB / 394.9 MB, free: 11.49 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004036/0.2124, allocations: 1.689 MB / 396.5 MB, free: 9.797 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001313/0.2138, allocations: 364 kB / 396.9 MB, free: 9.441 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001843/0.2156, allocations: 451.8 kB / 397.3 MB, free: 9 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001362/0.217, allocations: 0.9934 MB / 398.3 MB, free: 8.004 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003851/0.2209, allocations: 1.61 MB / 399.9 MB, free: 6.387 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007418/0.2284, allocations: 4.718 MB / 404.7 MB, free: 1.652 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.302e-05/0.2285, allocations: 4 kB / 404.7 MB, free: 1.648 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.819e-06/0.2285, allocations: 3.938 kB / 404.7 MB, free: 1.645 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002607/0.2287, allocations: 0 / 404.7 MB, free: 1.645 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.01152/0.2403, allocations: 3.289 MB / 408 MB, free: 14.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.394e-05/0.2404, allocations: 15.83 kB / 408 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001316/0.2417, allocations: 335 kB / 408.3 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004413/0.2461, allocations: 1.656 MB / 410 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002372/0.2464, allocations: 172.7 kB / 410.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005642/0.247, allocations: 228 kB / 410.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008271/0.2553, allocations: 3.184 MB / 413.5 MB, free: 8.555 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.403e-05/0.2554, allocations: 7.953 kB / 413.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002455/0.2557, allocations: 99.92 kB / 413.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001386/0.2558, allocations: 104.4 kB / 413.7 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00561/0.2615, allocations: 2.738 MB / 416.5 MB, free: 5.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02055/0.282, allocations: 9.796 MB / 426.3 MB, free: 11.53 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003062/0.2851, allocations: 2.098 MB / 428.4 MB, free: 9.312 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002118/0.2873, allocations: 1.198 MB / 429.6 MB, free: 8.113 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003694/0.2877, allocations: 126.9 kB / 429.7 MB, free: 7.973 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.38e-05/0.2878, allocations: 47.56 kB / 429.7 MB, free: 7.914 MB / 366.1 MB Notification: Performance of pre-optimization done (n=126): time 4.629e-06/0.2878, allocations: 0 / 429.7 MB, free: 7.914 MB / 366.1 MB Notification: Performance of matching and sorting (n=142): time 0.0227/0.3105, allocations: 8.033 MB / 437.8 MB, free: 15.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.962e-05/0.3107, allocations: 72.72 kB / 437.8 MB, free: 15.67 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003939/0.3146, allocations: 1.669 MB / 439.5 MB, free: 14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002454/0.3149, allocations: 53.7 kB / 439.6 MB, free: 13.94 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001124/0.316, allocations: 1.123 MB / 440.7 MB, free: 12.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006712/0.3167, allocations: 0.4997 MB / 441.2 MB, free: 12.3 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007307/0.3175, allocations: 295.5 kB / 441.5 MB, free: 12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.3176, allocations: 301.1 kB / 441.8 MB, free: 11.71 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001809/0.3194, allocations: 0.9056 MB / 442.7 MB, free: 10.8 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002284/0.3217, allocations: 1.271 MB / 443.9 MB, free: 9.383 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004175/0.3259, allocations: 2.25 MB / 446.2 MB, free: 6.992 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.969e-05/0.326, allocations: 7.938 kB / 446.2 MB, free: 6.984 MB / 382.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.007019/0.333, allocations: 3.054 MB / 449.3 MB, free: 3.906 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.788e-05/0.3331, allocations: 12 kB / 449.3 MB, free: 3.895 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.769e-05/0.3332, allocations: 8 kB / 449.3 MB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002315/0.3355, allocations: 0.8323 MB / 450.1 MB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00149/0.337, allocations: 315.5 kB / 450.4 MB, free: 2.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4205/0.7575, allocations: 9.903 MB / 460.3 MB, free: 65.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002382/0.7599, allocations: 97.84 kB / 460.4 MB, free: 65.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003547/0.7603, allocations: 59.84 kB / 460.5 MB, free: 65.27 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.00261/0.7629, allocations: 0.8132 MB / 461.3 MB, free: 64.86 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008815/0.7638, allocations: 192.4 kB / 461.5 MB, free: 64.86 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007174/0.771, allocations: 2.841 MB / 464.3 MB, free: 63.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.482e-05/0.7711, allocations: 13.69 kB / 464.3 MB, free: 63.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.38e-05/0.7711, allocations: 7.656 kB / 464.3 MB, free: 63.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.185e-05/0.7712, allocations: 6.281 kB / 464.3 MB, free: 63.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01298/0.7841, allocations: 5.663 MB / 470 MB, free: 61.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/0.7842, allocations: 1.656 kB / 470 MB, free: 61.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/0.7852, allocations: 193.3 kB / 470.2 MB, free: 61.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002611/0.7878, allocations: 0.9033 MB / 471.1 MB, free: 61.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001421/0.788, allocations: 39.05 kB / 471.1 MB, free: 61.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01361/0.8016, allocations: 11.53 MB / 482.7 MB, free: 52.04 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.8017, allocations: 7.359 kB / 482.7 MB, free: 52.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006915/0.8086, allocations: 4.159 MB / 486.8 MB, free: 49.08 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001631/0.8103, allocations: 477.9 kB / 487.3 MB, free: 48.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002871/0.8106, allocations: 32 kB / 487.3 MB, free: 48.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009414/0.8116, allocations: 79.91 kB / 487.4 MB, free: 48.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005228/0.8121, allocations: 141.7 kB / 487.5 MB, free: 48.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.745e-05/0.8122, allocations: 43.98 kB / 487.6 MB, free: 48.31 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002101/0.8143, allocations: 1.153 MB / 488.7 MB, free: 47.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.8143, allocations: 0 / 488.7 MB, free: 47.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00298/0.8173, allocations: 0.5592 MB / 489.3 MB, free: 46.6 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.0006278/0.818, allocations: 197.8 kB / 489.5 MB, free: 46.4 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005545/0.8235, allocations: 3.007 MB / 492.5 MB, free: 43.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.889e-06/0.8236, allocations: 4.062 kB / 492.5 MB, free: 43.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003545/0.8271, allocations: 2.029 MB / 494.5 MB, free: 41.22 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003174/0.8303, allocations: 0.5062 MB / 495 MB, free: 40.74 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/0.8408, allocations: 5.233 MB / 0.4886 GB, free: 35.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002166/0.843, allocations: 2.02 MB / 0.4905 GB, free: 33.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001675/0.8447, allocations: 411.3 kB / 0.4909 GB, free: 33.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000361/0.8451, allocations: 115.4 kB / 0.491 GB, free: 32.91 MB / 382.1 MB Notification: Performance of SimCode: time 1.773e-06/0.8451, allocations: 0 / 0.491 GB, free: 32.91 MB / 382.1 MB Notification: Performance of Templates: time 0.05759/0.9027, allocations: 33.22 MB / 0.5235 GB, free: 15.65 MB / 398.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe 2>&1)